Class ReviewerGroupCreateRequest

java.lang.Object
com.atlassian.bitbucket.pull.reviewer.ReviewerGroupCreateRequest

public class ReviewerGroupCreateRequest extends Object
Since:
7.13 Request object used for ReviewerGroupService.create(ReviewerGroupCreateRequest) creating a reviewer group.
  • Method Details

    • getDescription

      @Nullable public String getDescription()
      Returns:
      the description for a reviewer group
    • getName

      @Nonnull public String getName()
      Returns:
      the name for a reviewer group
    • getScope

      @Nonnull public Scope getScope()
      Returns:
      the scope of the reviewer group. A reviewer group can only be in repository and normal project scope level.
    • getUsers

      @Nonnull public Set<ApplicationUser> getUsers()
      Returns:
      the set of reviewers for the group. A reviewer group must contain at least one user. Passing an empty set to ReviewerGroupService.create(ReviewerGroupCreateRequest) will cause an EmptyReviewerGroupException to be thrown.