Interface AddReviewersOp.Factory

  • Enclosing class:
    AddReviewersOp

    public static interface AddReviewersOp.Factory
    • Method Detail

      • create

        AddReviewersOp create​(Set<Account.Id> accountIds,
                              Collection<com.google.gerrit.mail.Address> addresses,
                              ReviewerState state,
                              NotifyHandling notify,
                              com.google.common.collect.ListMultimap<RecipientType,​Account.Id> accountsToNotify)
        Create a new op.

        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.

        Parameters:
        accountIds - account IDs to add.
        addresses - email addresses to add.
        state - resulting reviewer state.
        notify - notification handling.
        accountsToNotify - additional accounts to notify.
        Returns:
        batch update operation.