Class CommentSearchRequest

java.lang.Object
com.atlassian.bitbucket.comment.CommentSearchRequest

public class CommentSearchRequest extends Object
A request for searching for comments and threads.
Since:
5.0
  • Method Details

    • getAnchorState

      @Nonnull public CommentThreadDiffAnchorState getAnchorState()
      Returns:
      the comment thread diff anchor state
      Since:
      5.4
    • getAuthor

      @Nullable public ApplicationUser getAuthor()
      Since:
      8.4
    • getCommentable

      @Nonnull public Commentable getCommentable()
    • getDiffTypes

      @Nonnull public Set<CommentThreadDiffAnchorType> getDiffTypes()
    • getFromHash

      @Nullable public String getFromHash()
    • getPath

      @Nullable public String getPath()
    • getPendingAuthor

      @Nullable public ApplicationUser getPendingAuthor()
      Limits pending comments to those posted by the specified author. If getStates() doesn't include PENDING this property will be ignored, since no pending comments will be returned.
      Returns:
      the author to limit pending comments to, or null to not limit by author
      Since:
      7.7
    • getSeverities

      @Nonnull public Set<CommentSeverity> getSeverities()
      Since:
      6.7
    • getStates

      @Nonnull public Set<CommentState> getStates()
      Since:
      6.7
    • getToHash

      @Nullable public String getToHash()