Package com.google.gerrit.server.account
Class DeleteSshKey
- java.lang.Object
-
- com.google.gerrit.server.account.DeleteSshKey
-
- All Implemented Interfaces:
RestModifyView<AccountResource.SshKey,DeleteSshKey.Input>
,RestView<AccountResource.SshKey>
public class DeleteSshKey extends Object implements RestModifyView<AccountResource.SshKey,DeleteSshKey.Input>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DeleteSshKey.Input
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Response<?>
apply(AccountResource.SshKey rsrc, DeleteSshKey.Input input)
Process the view operation by altering the resource.
-
-
-
Method Detail
-
apply
public Response<?> apply(AccountResource.SshKey rsrc, DeleteSshKey.Input input) throws AuthException, com.google.gwtorm.server.OrmException, org.eclipse.jgit.errors.RepositoryNotFoundException, 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.SshKey,DeleteSshKey.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:
AuthException
- the client is not permitted to access this view.com.google.gwtorm.server.OrmException
org.eclipse.jgit.errors.RepositoryNotFoundException
IOException
org.eclipse.jgit.errors.ConfigInvalidException
PermissionBackendException
-
-