Class PullRequestCommentEditedEvent
java.lang.Object
java.util.EventObject
com.atlassian.bitbucket.event.ApplicationEvent
com.atlassian.bitbucket.event.pull.PullRequestEvent
com.atlassian.bitbucket.event.pull.PullRequestCommentEvent
com.atlassian.bitbucket.event.pull.PullRequestCommentEditedEvent
- All Implemented Interfaces:
Serializable
Event that is raised when a comment is edited on a pull request.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionPullRequestCommentEditedEvent
(Object source, PullRequest pullRequest, Comment comment, Comment parent, String previousText, CommentSeverity previousSeverity, CommentState previousState) -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class com.atlassian.bitbucket.event.pull.PullRequestCommentEvent
getComment, getCommentAction, getParent
Methods inherited from class com.atlassian.bitbucket.event.pull.PullRequestEvent
getAction, getPullRequest
Methods inherited from class com.atlassian.bitbucket.event.ApplicationEvent
getDate, getUser
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
PullRequestCommentEditedEvent
public PullRequestCommentEditedEvent(@Nonnull Object source, @Nonnull PullRequest pullRequest, @Nonnull Comment comment, @Nullable Comment parent, @Nonnull String previousText, @Nonnull CommentSeverity previousSeverity, @Nonnull CommentState previousState) - Parameters:
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- Since:
- 6.7
-
-
Method Details
-
getPreviousSeverity
- Since:
- 6.7
-
getPreviousState
- Since:
- 6.7
-
getPreviousText
-