public class

CommitDiscussionCommentAddRequestedEvent

extends CommitDiscussionCancelableCommentEvent
java.lang.Object
   ↳ java.util.EventObject
     ↳ com.atlassian.bitbucket.event.ApplicationEvent
       ↳ com.atlassian.bitbucket.event.repository.RepositoryEvent
         ↳ com.atlassian.bitbucket.event.commit.CommitDiscussionEvent
           ↳ com.atlassian.bitbucket.event.commit.CommitDiscussionCommentEvent
             ↳ com.atlassian.bitbucket.event.commit.CommitDiscussionCancelableCommentEvent
               ↳ com.atlassian.bitbucket.event.commit.CommitDiscussionCommentAddRequestedEvent

Class Overview

Event that is raised before a comment is added to a commit discussion. This event is synchronous, allowing listeners to perform operations in the same database transaction where the comment is added.

This event is also cancelable. A listener may prevent the comment from being added by canceling this event. Throwing an exception will not prevent the comment from being added; the exception will be logged and ignored.

This does not include replies, which raise a CommitDiscussionCommentReplyRequestedEvent.

Summary

[Expand]
Inherited Fields
From class java.util.EventObject
Public Constructors
CommitDiscussionCommentAddRequestedEvent(Object source, CommitDiscussion discussion, Comment comment, CancelState cancelState)
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.event.commit.CommitDiscussionCancelableCommentEvent
From class com.atlassian.bitbucket.event.commit.CommitDiscussionCommentEvent
From class com.atlassian.bitbucket.event.commit.CommitDiscussionEvent
From class com.atlassian.bitbucket.event.repository.RepositoryEvent
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 CommitDiscussionCommentAddRequestedEvent (Object source, CommitDiscussion discussion, Comment comment, CancelState cancelState)