public class CommitDiscussionCommentModificationRequestedEvent extends CommitDiscussionCancelableCommentEvent
This event is also cancelable
. A listener may prevent the comment from being edited by
canceling
this event. Throwing an exception will not prevent the comment from
being edited; the exception will be logged and ignored.
source
Constructor and Description |
---|
CommitDiscussionCommentModificationRequestedEvent(Object source,
CommitDiscussion discussion,
Comment comment,
Comment parent,
String previousText,
CancelState cancelState) |
Modifier and Type | Method and Description |
---|---|
String |
getPreviousText() |
cancel, isCanceled
getComment, getCommentAction, getParent
getDiscussion
getRepository
getDate, getUser
getSource, toString
Copyright © 2022 Atlassian. All rights reserved.