Class GetRevisionActions
- java.lang.Object
-
- com.google.gerrit.server.restapi.change.GetRevisionActions
-
- All Implemented Interfaces:
ETagView<RevisionResource>
,RestReadView<RevisionResource>
,RestView<RevisionResource>
public class GetRevisionActions extends Object implements ETagView<RevisionResource>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Response<Map<String,ActionInfo>>
apply(RevisionResource rsrc)
Process the view operation by reading from the resource.String
getETag(RevisionResource rsrc)
-
-
-
Method Detail
-
apply
public Response<Map<String,ActionInfo>> apply(RevisionResource rsrc)
Description copied from interface:RestReadView
Process the view operation by reading from the resource.- Specified by:
apply
in interfaceRestReadView<RevisionResource>
- Parameters:
rsrc
- resource to read.- Returns:
- result to return to the client. Use
BinaryResult
to avoid automatic conversion to JSON.
-
getETag
public String getETag(RevisionResource rsrc)
- Specified by:
getETag
in interfaceETagView<RevisionResource>
-
-