Package com.google.gerrit.server.change
Interface AddReviewersOp.Factory
-
- Enclosing class:
- AddReviewersOp
public static interface AddReviewersOp.Factory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AddReviewersOp
create(Set<Account.Id> accountIds, Collection<Address> addresses, ReviewerState state, boolean forGroup)
Create a new op.
-
-
-
Method Detail
-
create
AddReviewersOp create(Set<Account.Id> accountIds, Collection<Address> addresses, ReviewerState state, boolean forGroup)
Create a new op.Users may be added by account or by email addresses, as determined by
accountIds
andaddresses
. The reviewer state for both accounts and email addresses is determined bystate
.- Parameters:
accountIds
- account IDs to add.addresses
- email addresses to add.state
- resulting reviewer state.forGroup
- whether this reviewer addition adds accounts for a group- Returns:
- batch update operation.
-
-