Class PullRequestReviewCommentEvent

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
PullRequestReviewCommentAddedEvent, PullRequestReviewCommentRepliedEvent

public abstract class PullRequestReviewCommentEvent extends PullRequestReviewEvent
Event that is raised when a pending comment is added or replied on a pull request.
Since:
7.7
See Also:
  • Constructor Details

    • PullRequestReviewCommentEvent

      protected PullRequestReviewCommentEvent(@Nonnull Object source, @Nonnull PullRequest pullRequest, @Nonnull Comment comment, @Nullable Comment parent, @Nonnull CommentAction commentAction)
      Parameters:
      source - the component raising the event
      pullRequest - the affected pull request
      comment - the affected comment
      parent - the parent of the comment, which will be null for top level comments
      commentAction - the action performed on the comment
  • Method Details

    • getComment

      @Nonnull public Comment getComment()
    • getCommentAction

      @Nonnull public CommentAction getCommentAction()
    • getParent

      @Nullable public Comment getParent()