Class PullRequestCommentReplyRequestedEvent
java.lang.Object
java.util.EventObject
com.atlassian.bitbucket.event.ApplicationEvent
com.atlassian.bitbucket.event.pull.PullRequestEvent
com.atlassian.bitbucket.event.pull.PullRequestCancelableCommentEvent
com.atlassian.bitbucket.event.pull.PullRequestCommentReplyRequestedEvent
- All Implemented Interfaces:
CancelableEvent
,CancelState
,Serializable
Event that is raised before a comment is replied to in a pull request. This event is synchronous, allowing
listeners to perform operations in the same database transaction where the reply is created.
This event is also cancelable
. A listener may prevent the reply from being created by
canceling
this event. Throwing an exception will not prevent the reply from
being created; the exception will be logged and ignored.
- Since:
- 6.6
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionPullRequestCommentReplyRequestedEvent
(Object source, PullRequest pullRequest, Comment comment, Comment parent, CancelState cancelState) -
Method Summary
Methods inherited from class com.atlassian.bitbucket.event.pull.PullRequestCancelableCommentEvent
cancel, getComment, getCommentAction, getParent, isCanceled
Methods 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
-
PullRequestCommentReplyRequestedEvent
public PullRequestCommentReplyRequestedEvent(@Nonnull Object source, @Nonnull PullRequest pullRequest, @Nonnull Comment comment, @Nonnull Comment parent, @Nonnull CancelState cancelState)
-