public class AddSshKey extends Object implements com.google.gerrit.extensions.restapi.RestModifyView<AccountResource,AddSshKey.Input>
Modifier and Type | Class and Description |
---|---|
static class |
AddSshKey.Input |
Modifier and Type | Method and Description |
---|---|
com.google.gerrit.extensions.restapi.Response<com.google.gerrit.extensions.common.SshKeyInfo> |
apply(AccountResource rsrc,
AddSshKey.Input input) |
com.google.gerrit.extensions.restapi.Response<com.google.gerrit.extensions.common.SshKeyInfo> |
apply(IdentifiedUser user,
AddSshKey.Input input) |
public com.google.gerrit.extensions.restapi.Response<com.google.gerrit.extensions.common.SshKeyInfo> apply(AccountResource rsrc, AddSshKey.Input input) throws com.google.gerrit.extensions.restapi.AuthException, com.google.gerrit.extensions.restapi.BadRequestException, com.google.gwtorm.server.OrmException, IOException, org.eclipse.jgit.errors.ConfigInvalidException
apply
in interface com.google.gerrit.extensions.restapi.RestModifyView<AccountResource,AddSshKey.Input>
com.google.gerrit.extensions.restapi.AuthException
com.google.gerrit.extensions.restapi.BadRequestException
com.google.gwtorm.server.OrmException
IOException
org.eclipse.jgit.errors.ConfigInvalidException
public com.google.gerrit.extensions.restapi.Response<com.google.gerrit.extensions.common.SshKeyInfo> apply(IdentifiedUser user, AddSshKey.Input input) throws com.google.gerrit.extensions.restapi.BadRequestException, IOException, org.eclipse.jgit.errors.ConfigInvalidException
com.google.gerrit.extensions.restapi.BadRequestException
IOException
org.eclipse.jgit.errors.ConfigInvalidException