Package com.google.gerrit.server.account
Class AccountsUpdate.User
- java.lang.Object
-
- com.google.gerrit.server.account.AccountsUpdate.User
-
- Enclosing class:
- AccountsUpdate
public static class AccountsUpdate.User extends Object
Factory to create an AccountsUpdate instance for updating accounts by the current user.The identity of the current user will be used as author for all commits that update the accounts. The Gerrit server identity will be used as committer.
-
-
Constructor Summary
Constructors Constructor Description User(GitRepositoryManager repoManager, GitReferenceUpdated gitRefUpdated, AllUsersName allUsersName, OutgoingEmailValidator emailValidator, com.google.inject.Provider<org.eclipse.jgit.lib.PersonIdent> serverIdent, com.google.inject.Provider<IdentifiedUser> identifiedUser, com.google.inject.Provider<MetaDataUpdate.User> metaDataUpdateUserFactory)
-
-
-
Constructor Detail
-
User
@Inject public User(GitRepositoryManager repoManager, GitReferenceUpdated gitRefUpdated, AllUsersName allUsersName, OutgoingEmailValidator emailValidator, com.google.inject.Provider<org.eclipse.jgit.lib.PersonIdent> serverIdent, com.google.inject.Provider<IdentifiedUser> identifiedUser, com.google.inject.Provider<MetaDataUpdate.User> metaDataUpdateUserFactory)
-
-
Method Detail
-
create
public AccountsUpdate create()
-
-