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