Class Branch
- java.lang.Object
-
- com.google.gerrit.reviewdb.client.Branch
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Branch.NameKey
Branch name key
-
Field Summary
Fields Modifier and Type Field Description protected boolean
canDelete
protected Branch.NameKey
name
protected RevId
revision
-
Constructor Summary
Constructors Modifier Constructor Description protected
Branch()
Branch(Branch.NameKey newName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getCanDelete()
String
getName()
Branch.NameKey
getNameKey()
RevId
getRevision()
String
getShortName()
void
setCanDelete(boolean canDelete)
void
setRevision(RevId id)
-
-
-
Field Detail
-
name
protected Branch.NameKey name
-
revision
protected RevId revision
-
canDelete
protected boolean canDelete
-
-
Constructor Detail
-
Branch
protected Branch()
-
Branch
public Branch(Branch.NameKey newName)
-
-
Method Detail
-
getNameKey
public Branch.NameKey getNameKey()
-
getName
public String getName()
-
getShortName
public String getShortName()
-
getRevision
public RevId getRevision()
-
setRevision
public void setRevision(RevId id)
-
getCanDelete
public boolean getCanDelete()
-
setCanDelete
public void setCanDelete(boolean canDelete)
-
-