public class CommitDiscussionCommentAddRequestedEvent extends CommitDiscussionCancelableCommentEvent
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 CommitDiscussionCommentReplyRequestedEvent
.
source
Constructor and Description |
---|
CommitDiscussionCommentAddRequestedEvent(Object source,
CommitDiscussion discussion,
Comment comment,
CancelState cancelState) |
cancel, isCanceled
getComment, getCommentAction, getParent
getDiscussion
getRepository
getDate, getUser
getSource, toString
public CommitDiscussionCommentAddRequestedEvent(@Nonnull Object source, @Nonnull CommitDiscussion discussion, @Nonnull Comment comment, @Nonnull CancelState cancelState)
Copyright © 2022 Atlassian. All rights reserved.