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