Package com.google.gerrit.entities
Class AccountGroup.UUID
java.lang.Object
com.google.gerrit.entities.AccountGroup.UUID
- All Implemented Interfaces:
Comparable<AccountGroup.UUID>
- Enclosing class:
- AccountGroup
public abstract static class AccountGroup.UUID
extends Object
implements Comparable<AccountGroup.UUID>
Globally unique identifier.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal int
static AccountGroup.UUID
Parse anAccountGroup.UUID
out of a ref-name.static AccountGroup.UUID
fromRefPart
(String refPart) Parse anAccountGroup.UUID
out of a part of a ref-name.get()
boolean
Returns true if the UUID is for a group managed within Gerrit.static AccountGroup.UUID
Parse anAccountGroup.UUID
out of a string representation.final String
toString()
-
Constructor Details
-
UUID
public UUID()
-
-
Method Details
-
get
-
isInternalGroup
public boolean isInternalGroup()Returns true if the UUID is for a group managed within Gerrit. -
parse
Parse anAccountGroup.UUID
out of a string representation. -
fromRef
Parse anAccountGroup.UUID
out of a ref-name. -
fromRefPart
Parse anAccountGroup.UUID
out of a part of a ref-name.- Parameters:
refPart
- a ref name with the following syntax:"12/1234..."
. We assume that the caller has trimmed any prefix.
-
compareTo
- Specified by:
compareTo
in interfaceComparable<AccountGroup.UUID>
-
toString
-