@AsynchronousPreferred public class

PullRequestCommentAddedEvent

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

Class Overview

Event that is raised when a comment is added on a pull request.

This does not include replies, which raise a PullRequestCommentRepliedEvent.

Summary

[Expand]
Inherited Fields
From class java.util.EventObject
Public Constructors
PullRequestCommentAddedEvent(Object source, PullRequest pullRequest, Comment comment)
@Deprecated PullRequestCommentAddedEvent(Object source, PullRequest pullRequest, Comment comment, Comment parent)
This constructor is deprecated. in 6.6 for removal in 7.0. Use PullRequestCommentAddedEvent(Object, PullRequest, Comment) instead
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.event.pull.PullRequestCommentEvent
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

Public Constructors

public PullRequestCommentAddedEvent (Object source, PullRequest pullRequest, Comment comment)

Parameters
source the component raising the event
pullRequest the pull request this comment relates to
comment the comment

@Deprecated public PullRequestCommentAddedEvent (Object source, PullRequest pullRequest, Comment comment, Comment parent)

This constructor is deprecated.
in 6.6 for removal in 7.0. Use PullRequestCommentAddedEvent(Object, PullRequest, Comment) instead

Parameters
source the component raising the event
pullRequest the pull request this comment relates to
comment the comment
parent always null because this event is only published for top-level comments