Package com.google.gerrit.entities
Class PatchSet.Id
java.lang.Object
com.google.gerrit.entities.PatchSet.Id
- All Implemented Interfaces:
Comparable<PatchSet.Id>
- Enclosing class:
- PatchSet
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Change.Id
changeId()
int
compareTo
(PatchSet.Id other) static PatchSet.Id
fromEditRef
(String ref) Parse a PatchSet.Id from an edit ref.static PatchSet.Id
Parse a PatchSet.Id from aPatchSet.refName()
result.int
get()
getId()
static PatchSet.Id
Parse a PatchSet.Id out of a string representation.static String
toId
(int number) final String
toString()
-
Constructor Details
-
Id
public Id()
-
-
Method Details
-
parse
Parse a PatchSet.Id out of a string representation. -
fromRef
Parse a PatchSet.Id from aPatchSet.refName()
result. -
fromEditRef
Parse a PatchSet.Id from an edit ref. -
toId
-
getId
-
changeId
-
get
public int get() -
getCommaSeparatedChangeAndPatchSetId
-
toRefName
-
toString
-
compareTo
- Specified by:
compareTo
in interfaceComparable<PatchSet.Id>
-