Class AddSshKey
- java.lang.Object
-
- com.google.gerrit.server.restapi.account.AddSshKey
-
- All Implemented Interfaces:
RestCollectionModifyView<AccountResource,AccountResource.SshKey,SshKeyInput>
,RestCollectionView<AccountResource,AccountResource.SshKey,SshKeyInput>
,RestView<AccountResource.SshKey>
public class AddSshKey extends Object implements RestCollectionModifyView<AccountResource,AccountResource.SshKey,SshKeyInput>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Response<SshKeyInfo>
apply(AccountResource rsrc, SshKeyInput input)
Response<SshKeyInfo>
apply(IdentifiedUser user, SshKeyInput input)
-
-
-
Method Detail
-
apply
public Response<SshKeyInfo> apply(AccountResource rsrc, SshKeyInput input) throws AuthException, BadRequestException, IOException, org.eclipse.jgit.errors.ConfigInvalidException, PermissionBackendException
- Specified by:
apply
in interfaceRestCollectionModifyView<AccountResource,AccountResource.SshKey,SshKeyInput>
- Throws:
AuthException
BadRequestException
IOException
org.eclipse.jgit.errors.ConfigInvalidException
PermissionBackendException
-
apply
public Response<SshKeyInfo> apply(IdentifiedUser user, SshKeyInput input) throws BadRequestException, IOException, org.eclipse.jgit.errors.ConfigInvalidException
- Throws:
BadRequestException
IOException
org.eclipse.jgit.errors.ConfigInvalidException
-
-