Class DeleteWatchedProjects
- java.lang.Object
-
- com.google.gerrit.server.restapi.account.DeleteWatchedProjects
-
- All Implemented Interfaces:
RestModifyView<AccountResource,List<ProjectWatchInfo>>
,RestView<AccountResource>
public class DeleteWatchedProjects extends Object implements RestModifyView<AccountResource,List<ProjectWatchInfo>>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Response<?>
apply(AccountResource rsrc, List<ProjectWatchInfo> input)
Process the view operation by altering the resource.
-
-
-
Method Detail
-
apply
public Response<?> apply(AccountResource rsrc, List<ProjectWatchInfo> input) throws AuthException, UnprocessableEntityException, IOException, org.eclipse.jgit.errors.ConfigInvalidException, PermissionBackendException
Description copied from interface:RestModifyView
Process the view operation by altering the resource.- Specified by:
apply
in interfaceRestModifyView<AccountResource,List<ProjectWatchInfo>>
- 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.UnprocessableEntityException
IOException
org.eclipse.jgit.errors.ConfigInvalidException
PermissionBackendException
-
-