Class PullRequestReviewCommentEvent
java.lang.Object
java.util.EventObject
com.atlassian.bitbucket.event.ApplicationEvent
com.atlassian.bitbucket.event.pull.PullRequestEvent
com.atlassian.bitbucket.event.pull.PullRequestReviewEvent
com.atlassian.bitbucket.event.pull.PullRequestReviewCommentEvent
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
PullRequestReviewCommentAddedEvent
,PullRequestReviewCommentRepliedEvent
Event that is raised when a pending comment is added or replied on a pull request.
- Since:
- 7.7
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ModifierConstructorDescriptionprotected
PullRequestReviewCommentEvent
(Object source, PullRequest pullRequest, Comment comment, Comment parent, CommentAction commentAction) -
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
-
PullRequestReviewCommentEvent
protected PullRequestReviewCommentEvent(@Nonnull Object source, @Nonnull PullRequest pullRequest, @Nonnull Comment comment, @Nullable Comment parent, @Nonnull CommentAction commentAction) - 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
-