public abstract class ChangeTriplet extends Object
Constructor and Description |
---|
ChangeTriplet() |
Modifier and Type | Method and Description |
---|---|
abstract com.google.gerrit.reviewdb.client.Branch.NameKey |
branch() |
static String |
format(com.google.gerrit.reviewdb.client.Change change) |
abstract com.google.gerrit.reviewdb.client.Change.Key |
id() |
static com.google.common.base.Optional<ChangeTriplet> |
parse(String triplet)
Parse a triplet out of a string.
|
com.google.gerrit.reviewdb.client.Project.NameKey |
project() |
String |
toString() |
public static String format(com.google.gerrit.reviewdb.client.Change change)
public static com.google.common.base.Optional<ChangeTriplet> parse(String triplet)
triplet
- string of the form "project~branch~id".public final com.google.gerrit.reviewdb.client.Project.NameKey project()
public abstract com.google.gerrit.reviewdb.client.Branch.NameKey branch()
public abstract com.google.gerrit.reviewdb.client.Change.Key id()