Class PullRequestCommentEvent
java.lang.Object
java.util.EventObject
com.atlassian.bitbucket.event.ApplicationEvent
com.atlassian.bitbucket.event.pull.PullRequestEvent
com.atlassian.bitbucket.event.pull.PullRequestCommentEvent
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
PullRequestCommentAddedEvent
,PullRequestCommentDeletedEvent
,PullRequestCommentEditedEvent
,PullRequestCommentRepliedEvent
Event that is raised when a comment is added, edited or deleted on a pull request.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ModifierConstructorDescriptionprotected
PullRequestCommentEvent
(Object source, PullRequest pullRequest, Comment comment, Comment parent, CommentAction commentAction) Constructs a newPullRequestCommentEvent
. -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class com.atlassian.bitbucket.event.pull.PullRequestEvent
getAction, getPullRequest
Methods inherited from class com.atlassian.bitbucket.event.ApplicationEvent
getDate, getUser
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
PullRequestCommentEvent
protected PullRequestCommentEvent(@Nonnull Object source, @Nonnull PullRequest pullRequest, @Nonnull Comment comment, @Nullable Comment parent, @Nonnull CommentAction commentAction) Constructs a newPullRequestCommentEvent
.- Parameters:
source
- the component raising the eventpullRequest
- the affected pull requestcomment
- the affected commentparent
- the parent of the comment, which will benull
for top-level commentscommentAction
- the action performed on the comment
-
-
Method Details
-
getComment
-
getCommentAction
-
getParent
-