@AsynchronousPreferred @Deprecated public class

CommentAddedEvent

extends CommentEvent
java.lang.Object
   ↳ java.util.EventObject
     ↳ com.atlassian.stash.event.StashEvent
       ↳ com.atlassian.stash.event.comment.CommentEvent
         ↳ com.atlassian.stash.event.comment.CommentAddedEvent

This class is deprecated.
in 2.11 for removal in 3.0. This event includes no context, making it impossible to determine whether the comment was added to a commit discussion or to a pull request. Event handlers should listen for CommitDiscussionCommentAddedEvent or PullRequestCommentAddedEvent.

Summary

[Expand]
Inherited Fields
From class java.util.EventObject
Public Constructors
CommentAddedEvent(Object source, Comment comment, DiffCommentAnchor anchor)
Public Methods
@Nullable DiffCommentAnchor getAnchor()
[Expand]
Inherited Methods
From class com.atlassian.stash.event.comment.CommentEvent
From class com.atlassian.stash.event.StashEvent
From class java.util.EventObject
From class java.lang.Object

Public Constructors

public CommentAddedEvent (Object source, Comment comment, DiffCommentAnchor anchor)

Public Methods

@Nullable public DiffCommentAnchor getAnchor ()