public class RevisionResource
extends java.lang.Object
implements com.google.gerrit.extensions.restapi.RestResource, com.google.gerrit.extensions.restapi.RestResource.HasETag
Modifier and Type | Field and Description |
---|---|
static com.google.inject.TypeLiteral<com.google.gerrit.extensions.restapi.RestView<RevisionResource>> |
REVISION_KIND |
Constructor and Description |
---|
RevisionResource(ChangeResource change,
com.google.gerrit.reviewdb.client.PatchSet ps) |
Modifier and Type | Method and Description |
---|---|
com.google.gerrit.reviewdb.client.Change |
getChange() |
ChangeResource |
getChangeResource() |
ChangeControl |
getControl() |
java.lang.String |
getETag() |
ChangeNotes |
getNotes() |
com.google.gerrit.reviewdb.client.PatchSet |
getPatchSet() |
boolean |
isCacheable() |
public static final com.google.inject.TypeLiteral<com.google.gerrit.extensions.restapi.RestView<RevisionResource>> REVISION_KIND
public RevisionResource(ChangeResource change, com.google.gerrit.reviewdb.client.PatchSet ps)
public boolean isCacheable()
public ChangeResource getChangeResource()
public ChangeControl getControl()
public com.google.gerrit.reviewdb.client.Change getChange()
public ChangeNotes getNotes()
public com.google.gerrit.reviewdb.client.PatchSet getPatchSet()
public java.lang.String getETag()
getETag
in interface com.google.gerrit.extensions.restapi.RestResource.HasETag