public class PullRequestCommentAddRequestedEvent extends PullRequestCancelableCommentEvent
This event is also cancelable
. A listener may prevent the comment from being added by
canceling
this event. Throwing an exception will not prevent the comment from
being added; the exception will be logged and ignored.
This does not include replies, which raise a PullRequestCommentReplyRequestedEvent
.
source
Constructor and Description |
---|
PullRequestCommentAddRequestedEvent(Object source,
PullRequest pullRequest,
Comment comment,
CancelState cancelState) |
cancel, getComment, getCommentAction, getParent, isCanceled
getAction, getPullRequest
getDate, getUser
getSource, toString
public PullRequestCommentAddRequestedEvent(@Nonnull Object source, @Nonnull PullRequest pullRequest, @Nonnull Comment comment, @Nonnull CancelState cancelState)
Copyright © 2024 Atlassian. All rights reserved.