public class CommitResource extends java.lang.Object implements RestResource
RestResource.HasETag, RestResource.HasLastModified
Modifier and Type | Field and Description |
---|---|
static com.google.inject.TypeLiteral<RestView<CommitResource>> |
COMMIT_KIND |
Constructor and Description |
---|
CommitResource(ProjectResource project,
org.eclipse.jgit.revwalk.RevCommit commit) |
Modifier and Type | Method and Description |
---|---|
org.eclipse.jgit.revwalk.RevCommit |
getCommit() |
ProjectState |
getProjectState() |
public static final com.google.inject.TypeLiteral<RestView<CommitResource>> COMMIT_KIND
public CommitResource(ProjectResource project, org.eclipse.jgit.revwalk.RevCommit commit)
public ProjectState getProjectState()
public org.eclipse.jgit.revwalk.RevCommit getCommit()