Class Change.Key
- java.lang.Object
-
- com.google.gwtorm.client.StringKey<com.google.gwtorm.client.Key<?>>
-
- com.google.gerrit.reviewdb.client.Change.Key
-
- All Implemented Interfaces:
com.google.gwtorm.client.Key<com.google.gwtorm.client.Key<?>>
,Serializable
,Comparable<com.google.gwtorm.client.StringKey<?>>
- Enclosing class:
- Change
public static class Change.Key extends com.google.gwtorm.client.StringKey<com.google.gwtorm.client.Key<?>>
Globally unique identification of this change. This generally takes the form of a string "Ixxxxxx...", and is stored in the Change-Id footer of a commit.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
abbreviate()
Obtain a shorter version of this key string, using a leading prefix.String
get()
Change.Key
max()
Construct a key that is after all keys prefixed by this key.static Change.Key
parse(String str)
Parse a Change.Key out of a string representation.protected void
set(String newValue)
-
-
-
Field Detail
-
id
protected String id
-
-
Constructor Detail
-
Key
protected Key()
-
Key
public Key(String id)
-
-
Method Detail
-
get
public String get()
- Specified by:
get
in classcom.google.gwtorm.client.StringKey<com.google.gwtorm.client.Key<?>>
-
set
protected void set(String newValue)
- Specified by:
set
in classcom.google.gwtorm.client.StringKey<com.google.gwtorm.client.Key<?>>
-
max
public Change.Key max()
Construct a key that is after all keys prefixed by this key.
-
abbreviate
public String abbreviate()
Obtain a shorter version of this key string, using a leading prefix.
-
parse
public static Change.Key parse(String str)
Parse a Change.Key out of a string representation.
-
-