public class

PullRequestCommentModificationRequestedEvent

extends PullRequestCancelableCommentEvent
java.lang.Object
   ↳ java.util.EventObject
     ↳ com.atlassian.bitbucket.event.ApplicationEvent
       ↳ com.atlassian.bitbucket.event.pull.PullRequestEvent
         ↳ com.atlassian.bitbucket.event.pull.PullRequestCancelableCommentEvent
           ↳ com.atlassian.bitbucket.event.pull.PullRequestCommentModificationRequestedEvent

Class Overview

Event that is raised before a comment in a pull request is edited. This event is synchronous, allowing listeners to perform operations in the same database transaction where the comment is edited.

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.

Summary

[Expand]
Inherited Fields
From class java.util.EventObject
Public Constructors
PullRequestCommentModificationRequestedEvent(Object source, PullRequest pullRequest, Comment comment, Comment parent, String previousText, CancelState cancelState)
Public Methods
@Nonnull String getPreviousText()
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.event.pull.PullRequestCancelableCommentEvent
From class com.atlassian.bitbucket.event.pull.PullRequestEvent
From class com.atlassian.bitbucket.event.ApplicationEvent
From class java.util.EventObject
From class java.lang.Object
From interface com.atlassian.bitbucket.util.CancelState

Public Constructors

public PullRequestCommentModificationRequestedEvent (Object source, PullRequest pullRequest, Comment comment, Comment parent, String previousText, CancelState cancelState)

Public Methods

@Nonnull public String getPreviousText ()