public class

PullRequestActivitySearchRequest

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

Class Overview

Request for searching for pull requests' activities.

Summary

Nested Classes
class PullRequestActivitySearchRequest.Builder  
Public Methods
@Nonnull Set<CommentAction> getCommentActions()
Limits the comment activities to the ones performing the specified comment actions.
@Nonnull Set<Long> getCommentIds()
Limits the comment activities to the ones affecting the specified comments.
@Nonnull Set<PullRequestActivityType> getTypes()
Specifies the type(s) of activities to search for.
boolean isWithProperties()
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.pull.AbstractPullRequestRequest
From class java.lang.Object

Public Methods

@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)

@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)

@Nonnull public Set<PullRequestActivityType> getTypes ()

Specifies the type(s) of activities to search for.

Returns
  • the types of activities to retrieve (can be empty)

public boolean isWithProperties ()

Returns
  • true to fetch the pull requests' properties