Class PutStatus
- java.lang.Object
-
- com.google.gerrit.server.restapi.account.PutStatus
-
- All Implemented Interfaces:
RestModifyView<AccountResource,StatusInput>
,RestView<AccountResource>
public class PutStatus extends Object implements RestModifyView<AccountResource,StatusInput>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Response<String>
apply(AccountResource rsrc, StatusInput input)
Process the view operation by altering the resource.Response<String>
apply(IdentifiedUser user, StatusInput input)
-
-
-
Method Detail
-
apply
public Response<String> apply(AccountResource rsrc, StatusInput input) throws AuthException, ResourceNotFoundException, IOException, PermissionBackendException, org.eclipse.jgit.errors.ConfigInvalidException
Description copied from interface:RestModifyView
Process the view operation by altering the resource.- Specified by:
apply
in interfaceRestModifyView<AccountResource,StatusInput>
- 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:
AuthException
- the client is not permitted to access this view.ResourceNotFoundException
IOException
PermissionBackendException
org.eclipse.jgit.errors.ConfigInvalidException
-
apply
public Response<String> apply(IdentifiedUser user, StatusInput input) throws ResourceNotFoundException, IOException, org.eclipse.jgit.errors.ConfigInvalidException
- Throws:
ResourceNotFoundException
IOException
org.eclipse.jgit.errors.ConfigInvalidException
-
-