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