Package com.google.gerrit.server.group
Class PutDescription
- java.lang.Object
-
- com.google.gerrit.server.group.PutDescription
-
- All Implemented Interfaces:
RestModifyView<GroupResource,PutDescription.Input>
,RestView<GroupResource>
public class PutDescription extends Object implements RestModifyView<GroupResource,PutDescription.Input>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PutDescription.Input
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Response<String>
apply(GroupResource resource, PutDescription.Input input)
Process the view operation by altering the resource.
-
-
-
Method Detail
-
apply
public Response<String> apply(GroupResource resource, PutDescription.Input input) throws AuthException, MethodNotAllowedException, ResourceNotFoundException, com.google.gwtorm.server.OrmException, IOException
Description copied from interface:RestModifyView
Process the view operation by altering the resource.- Specified by:
apply
in interfaceRestModifyView<GroupResource,PutDescription.Input>
- Parameters:
resource
- resource to modify.input
- input after parsing from request.- Returns:
- result to return to the client. Use
BinaryResult
to avoid automatic conversion to JSON. - Throws:
AuthException
- the client is not permitted to access this view.MethodNotAllowedException
ResourceNotFoundException
com.google.gwtorm.server.OrmException
IOException
-
-