public abstract class

PullRequestCommentEvent

extends PullRequestEvent
java.lang.Object
   ↳ java.util.EventObject
     ↳ com.atlassian.bitbucket.event.ApplicationEvent
       ↳ com.atlassian.bitbucket.event.pull.PullRequestEvent
         ↳ com.atlassian.bitbucket.event.pull.PullRequestCommentEvent
Known Direct Subclasses

Class Overview

Event that is raised when a comment is added, edited or deleted on a pull request.

Summary

[Expand]
Inherited Fields
From class java.util.EventObject
Protected Constructors
PullRequestCommentEvent(Object source, PullRequest pullRequest, Comment comment, Comment parent, CommentAction commentAction)
Constructs a new PullRequestCommentEvent.
Public Methods
@Nonnull Comment getComment()
@Nonnull CommentAction getCommentAction()
@Nullable Comment getParent()
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.event.pull.PullRequestEvent
From class com.atlassian.bitbucket.event.ApplicationEvent
From class java.util.EventObject
From class java.lang.Object

Protected Constructors

protected PullRequestCommentEvent (Object source, PullRequest pullRequest, Comment comment, Comment parent, CommentAction commentAction)

Constructs a new PullRequestCommentEvent.

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

Public Methods

@Nonnull public Comment getComment ()

@Nonnull public CommentAction getCommentAction ()

@Nullable public Comment getParent ()