public interface

PullRequestCommentActivity

implements PullRequestActivity
com.atlassian.bitbucket.pull.PullRequestCommentActivity

Class Overview

A PullRequestActivity representing a comment action made on the contents of the pull request.

See Also

Summary

Public Methods
@Nonnull Comment getComment()
@Nonnull CommentAction getCommentAction()
@Nonnull Optional<Diff> getDiff()
[Expand]
Inherited Methods
From interface com.atlassian.bitbucket.activity.Activity
From interface com.atlassian.bitbucket.pull.PullRequestActivity

Public Methods

@Nonnull public Comment getComment ()

Returns
  • the comment associated with this activity.

@Nonnull public CommentAction getCommentAction ()

Returns
  • the comment action on the comment.

@Nonnull public Optional<Diff> getDiff ()

Returns
  • the diff of the contents that the comment is anchored to, or null if this is a general comment or a comment not associated with contents changed as part of this pull request (e.g. a file comment).