public static interface AccountsUpdate.Factory
Modifier and Type | Method and Description |
---|---|
AccountsUpdate |
create(IdentifiedUser currentUser,
ExternalIdNotes.ExternalIdNotesLoader externalIdNotesLoader)
Creates an
AccountsUpdate which uses the identity of the specified user as author for
all commits related to accounts. |
AccountsUpdate create(IdentifiedUser currentUser, ExternalIdNotes.ExternalIdNotesLoader externalIdNotesLoader)
AccountsUpdate
which uses the identity of the specified user as author for
all commits related to accounts. The Gerrit server identity will be used as committer.
Note: Please use this method with care and rather consider to use the
correct annotation on the provider of an AccountsUpdate
instead.
currentUser
- the user to which modifications should be attributed, or null
if
the Gerrit server identity should also be used as author