public class PutHttpPassword extends Object implements com.google.gerrit.extensions.restapi.RestModifyView<AccountResource,PutHttpPassword.Input>
Modifier and Type | Class and Description |
---|---|
static class |
PutHttpPassword.Input |
Modifier and Type | Method and Description |
---|---|
com.google.gerrit.extensions.restapi.Response<String> |
apply(AccountResource rsrc,
PutHttpPassword.Input input) |
com.google.gerrit.extensions.restapi.Response<String> |
apply(IdentifiedUser user,
String newPassword) |
static String |
generate() |
public com.google.gerrit.extensions.restapi.Response<String> apply(AccountResource rsrc, PutHttpPassword.Input input) throws com.google.gerrit.extensions.restapi.AuthException, com.google.gerrit.extensions.restapi.ResourceNotFoundException, com.google.gerrit.extensions.restapi.ResourceConflictException, com.google.gwtorm.server.OrmException, IOException
apply
in interface com.google.gerrit.extensions.restapi.RestModifyView<AccountResource,PutHttpPassword.Input>
com.google.gerrit.extensions.restapi.AuthException
com.google.gerrit.extensions.restapi.ResourceNotFoundException
com.google.gerrit.extensions.restapi.ResourceConflictException
com.google.gwtorm.server.OrmException
IOException
public com.google.gerrit.extensions.restapi.Response<String> apply(IdentifiedUser user, String newPassword) throws com.google.gerrit.extensions.restapi.ResourceNotFoundException, com.google.gerrit.extensions.restapi.ResourceConflictException, com.google.gwtorm.server.OrmException, IOException
com.google.gerrit.extensions.restapi.ResourceNotFoundException
com.google.gerrit.extensions.restapi.ResourceConflictException
com.google.gwtorm.server.OrmException
IOException
public static String generate()