public class BranchResource extends RefResource
RestResource.HasETag, RestResource.HasLastModified| Modifier and Type | Field and Description |
|---|---|
static com.google.inject.TypeLiteral<RestView<BranchResource>> |
BRANCH_KIND |
PROJECT_KIND| Constructor and Description |
|---|
BranchResource(ProjectControl control,
BranchInfo branchInfo) |
| Modifier and Type | Method and Description |
|---|---|
BranchInfo |
getBranchInfo() |
Branch.NameKey |
getBranchKey() |
String |
getRef() |
String |
getRevision() |
getControl, getName, getNameKey, getStatepublic static final com.google.inject.TypeLiteral<RestView<BranchResource>> BRANCH_KIND
public BranchResource(ProjectControl control, BranchInfo branchInfo)
public BranchInfo getBranchInfo()
public Branch.NameKey getBranchKey()
public String getRef()
getRef in class RefResourcepublic String getRevision()
getRevision in class RefResource