Package com.google.gerrit.server.account
Class PutActive
- java.lang.Object
-
- com.google.gerrit.server.account.PutActive
-
- All Implemented Interfaces:
RestModifyView<AccountResource,PutActive.Input>
,RestView<AccountResource>
public class PutActive extends Object implements RestModifyView<AccountResource,PutActive.Input>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PutActive.Input
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Response<String>
apply(AccountResource rsrc, PutActive.Input input)
Process the view operation by altering the resource.
-
-
-
Method Detail
-
apply
public Response<String> apply(AccountResource rsrc, PutActive.Input input) throws ResourceNotFoundException, com.google.gwtorm.server.OrmException, IOException, org.eclipse.jgit.errors.ConfigInvalidException
Description copied from interface:RestModifyView
Process the view operation by altering the resource.- Specified by:
apply
in interfaceRestModifyView<AccountResource,PutActive.Input>
- Parameters:
rsrc
- 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:
ResourceNotFoundException
com.google.gwtorm.server.OrmException
IOException
org.eclipse.jgit.errors.ConfigInvalidException
-
-