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,
org.eclipse.jgit.lib.Ref ref) |
Modifier and Type | Method and Description |
---|---|
Branch.NameKey |
getBranchKey() |
java.lang.String |
getRef() |
java.lang.String |
getRevision() |
getControl, getName, getNameKey, getProjectState, getUser
public static final com.google.inject.TypeLiteral<RestView<BranchResource>> BRANCH_KIND
public BranchResource(ProjectControl control, org.eclipse.jgit.lib.Ref ref)
public Branch.NameKey getBranchKey()
public java.lang.String getRef()
getRef
in class RefResource
public java.lang.String getRevision()
getRevision
in class RefResource