public static interface AddReviewersOp.Factory
Modifier and Type | Method and Description |
---|---|
AddReviewersOp |
create(java.util.Set<Account.Id> accountIds,
java.util.Collection<com.google.gerrit.mail.Address> addresses,
ReviewerState state,
NotifyHandling notify,
com.google.common.collect.ListMultimap<RecipientType,Account.Id> accountsToNotify)
Create a new op.
|
AddReviewersOp create(java.util.Set<Account.Id> accountIds, java.util.Collection<com.google.gerrit.mail.Address> addresses, ReviewerState state, NotifyHandling notify, com.google.common.collect.ListMultimap<RecipientType,Account.Id> accountsToNotify)
Users may be added by account or by email addresses, as determined by accountIds
and addresses
. The reviewer state for both accounts and email addresses is determined
by state
.
accountIds
- account IDs to add.addresses
- email addresses to add.state
- resulting reviewer state.notify
- notification handling.accountsToNotify
- additional accounts to notify.