public class GetSshKeys extends Object implements com.google.gerrit.extensions.restapi.RestReadView<AccountResource>
Modifier and Type | Method and Description |
---|---|
List<com.google.gerrit.extensions.common.SshKeyInfo> |
apply(AccountResource rsrc) |
List<com.google.gerrit.extensions.common.SshKeyInfo> |
apply(IdentifiedUser user) |
static com.google.gerrit.extensions.common.SshKeyInfo |
newSshKeyInfo(com.google.gerrit.reviewdb.client.AccountSshKey sshKey) |
public List<com.google.gerrit.extensions.common.SshKeyInfo> apply(AccountResource rsrc) throws com.google.gerrit.extensions.restapi.AuthException, com.google.gwtorm.server.OrmException, org.eclipse.jgit.errors.RepositoryNotFoundException, IOException, org.eclipse.jgit.errors.ConfigInvalidException
apply
in interface com.google.gerrit.extensions.restapi.RestReadView<AccountResource>
com.google.gerrit.extensions.restapi.AuthException
com.google.gwtorm.server.OrmException
org.eclipse.jgit.errors.RepositoryNotFoundException
IOException
org.eclipse.jgit.errors.ConfigInvalidException
public List<com.google.gerrit.extensions.common.SshKeyInfo> apply(IdentifiedUser user) throws org.eclipse.jgit.errors.RepositoryNotFoundException, IOException, org.eclipse.jgit.errors.ConfigInvalidException
org.eclipse.jgit.errors.RepositoryNotFoundException
IOException
org.eclipse.jgit.errors.ConfigInvalidException
public static com.google.gerrit.extensions.common.SshKeyInfo newSshKeyInfo(com.google.gerrit.reviewdb.client.AccountSshKey sshKey)