@AsynchronousPreferred public class PullRequestCommentEditedEvent extends PullRequestCommentEvent
source
Constructor and Description |
---|
PullRequestCommentEditedEvent(Object source,
PullRequest pullRequest,
Comment comment,
Comment parent,
String previousText)
Deprecated.
in 6.7 for removal in 7.0. Use
PullRequestCommentEditedEvent(Object, PullRequest, Comment,
Comment, String, CommentSeverity, CommentState) instead. |
PullRequestCommentEditedEvent(Object source,
PullRequest pullRequest,
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
getAction, getPullRequest
getDate, getUser
getSource, toString
@Deprecated public PullRequestCommentEditedEvent(@Nonnull Object source, @Nonnull PullRequest pullRequest, @Nonnull Comment comment, @Nullable Comment parent, @Nonnull String previousText)
PullRequestCommentEditedEvent(Object, PullRequest, Comment,
Comment, String, CommentSeverity, CommentState)
instead.public PullRequestCommentEditedEvent(@Nonnull Object source, @Nonnull PullRequest pullRequest, @Nonnull Comment comment, @Nullable Comment parent, @Nonnull String previousText, @Nonnull CommentSeverity previousSeverity, @Nonnull CommentState previousState)
source
- the component raising the eventpullRequest
- the pull request 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.