Package com.google.gerrit.server.group
Class PutOptions
- java.lang.Object
-
- com.google.gerrit.server.group.PutOptions
-
- All Implemented Interfaces:
RestModifyView<GroupResource,GroupOptionsInfo>
,RestView<GroupResource>
public class PutOptions extends Object implements RestModifyView<GroupResource,GroupOptionsInfo>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GroupOptionsInfo
apply(GroupResource resource, GroupOptionsInfo input)
Process the view operation by altering the resource.
-
-
-
Method Detail
-
apply
public GroupOptionsInfo apply(GroupResource resource, GroupOptionsInfo input) throws MethodNotAllowedException, AuthException, BadRequestException, 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,GroupOptionsInfo>
- 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.BadRequestException
- the request was incorrectly specified and cannot be handled by this view.MethodNotAllowedException
ResourceNotFoundException
com.google.gwtorm.server.OrmException
IOException
-
-