@AsynchronousPreferred public class CommitDiscussionCommentEditedEvent extends CommitDiscussionCommentEvent
source
Constructor and Description |
---|
CommitDiscussionCommentEditedEvent(Object source,
CommitDiscussion discussion,
Comment comment,
Comment parent,
String previousText)
Deprecated.
in 6.7 for removal in 7.0. Use
CommitDiscussionCommentEditedEvent(Object, CommitDiscussion,
Comment, Comment, String, CommentSeverity, CommentState) instead. |
CommitDiscussionCommentEditedEvent(Object source,
CommitDiscussion discussion,
Comment comment,
Comment parent,
String previousText,
CommentSeverity previousSeverity,
CommentState previousState) |
Modifier and Type | Method and Description |
---|---|
CommentSeverity |
getPreviousSeverity() |
CommentState |
getPreviousState() |
String |
getPreviousText() |
getComment, getCommentAction, getParent
getDiscussion
getRepository
getDate, getUser
getSource, toString
@Deprecated public CommitDiscussionCommentEditedEvent(@Nonnull Object source, @Nonnull CommitDiscussion discussion, @Nonnull Comment comment, @Nullable Comment parent, @Nonnull String previousText)
CommitDiscussionCommentEditedEvent(Object, CommitDiscussion,
Comment, Comment, String, CommentSeverity, CommentState)
instead.public CommitDiscussionCommentEditedEvent(@Nonnull Object source, @Nonnull CommitDiscussion discussion, @Nonnull Comment comment, @Nullable Comment parent, @Nonnull String previousText, @Nonnull CommentSeverity previousSeverity, @Nonnull CommentState previousState)
source
- the component raising the eventdiscussion
- the commit discussion this comment relates tocomment
- the commentparent
- the parent of this comment, or null if this is a top-level commentpreviousText
- the previous text of the commentpreviousSeverity
- the previous severity of the commentpreviousState
- the previous state of the comment@Nonnull public CommentSeverity getPreviousSeverity()
@Nonnull public CommentState getPreviousState()
Copyright © 2019 Atlassian. All rights reserved.