|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sonyericsson.hudson.plugins.gerrit.trigger.gerritnotifier.model.BuildMemory.PatchSetKey
public static final class BuildMemory.PatchSetKey
The Key to use to map events and builds.
Constructor Summary | |
---|---|
BuildMemory.PatchSetKey(Integer changeNumber,
Integer patchSetNumber)
Constructs a Key. |
|
BuildMemory.PatchSetKey(String changeNumber,
String patchSetNumber)
Constructs a Key. |
Method Summary | |
---|---|
int |
compareTo(BuildMemory.PatchSetKey o)
|
boolean |
equals(Object obj)
|
Integer |
getChangeNumber()
The Gerrit change number. |
Integer |
getPatchSetNumber()
The Gerrit patch-set number. |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BuildMemory.PatchSetKey(Integer changeNumber, Integer patchSetNumber)
changeNumber
- the Gerrit changeNumberpatchSetNumber
- the Gerrit patch-set number.public BuildMemory.PatchSetKey(String changeNumber, String patchSetNumber) throws NumberFormatException
changeNumber
- the Gerrit changeNumberpatchSetNumber
- the Gerrit patch-set number.
NumberFormatException
- if one of the parameters is not parseable to an Integer
.Method Detail |
---|
public Integer getChangeNumber()
public Integer getPatchSetNumber()
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public int compareTo(BuildMemory.PatchSetKey o)
compareTo
in interface Comparable<BuildMemory.PatchSetKey>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |