Class PullRequestActivitySearchRequest

java.lang.Object
com.atlassian.bitbucket.pull.AbstractPullRequestRequest
com.atlassian.bitbucket.pull.PullRequestActivitySearchRequest

public class PullRequestActivitySearchRequest extends AbstractPullRequestRequest
Request for searching for pull requests' activities.
See Also:
  • Method Details

    • getCommentActions

      @Nonnull public Set<CommentAction> getCommentActions()
      Limits the comment activities to the ones performing the specified comment actions.

      Note: this is only valid if the searched types include comment activities.

      Returns:
      comment actions the comment activities must perform (can be empty)
    • getCommentIds

      @Nonnull public Set<Long> getCommentIds()
      Limits the comment activities to the ones affecting the specified comments.

      Note: this is only valid if the searched types include comment activities.

      Returns:
      the IDs of the comments the comment activities affect (can be empty)
    • getPropertyMode

      @Nonnull public PullRequestActivityPropertyMode getPropertyMode()
      Returns:
      mode of property enriching pull requests and pull request activity. By default set to PullRequestActivityPropertyMode.ACTIVITY_ONLY.
      Since:
      7.14
    • getTypes

      @Nonnull public Set<PullRequestActivityType> getTypes()
      Specifies the type(s) of activities to search for.
      Returns:
      the types of activities to retrieve (can be empty)
      See Also: