public abstract class

PullRequestCommentEvent

extends PullRequestEvent
java.lang.Object
   ↳ java.util.EventObject
     ↳ com.atlassian.stash.event.StashEvent
       ↳ com.atlassian.stash.event.pull.PullRequestEvent
         ↳ com.atlassian.stash.event.pull.PullRequestCommentEvent
Known Direct Subclasses

Class Overview

Event that is raised when a comment is added, edited or deleted on a pull request.

Summary

[Expand]
Inherited Fields
From class java.util.EventObject
Protected Constructors
PullRequestCommentEvent(Object source, PullRequest pullRequest, Comment comment, Comment parent, CommentAction commentAction)
Constructs a new PullRequestCommentEvent.
Public Methods
@Nonnull Comment getComment()
@Nonnull CommentAction getCommentAction()
@Nullable Comment getParent()
[Expand]
Inherited Methods
From class com.atlassian.stash.event.pull.PullRequestEvent
From class com.atlassian.stash.event.StashEvent
From class java.util.EventObject
From class java.lang.Object

Protected Constructors

protected PullRequestCommentEvent (Object source, PullRequest pullRequest, Comment comment, Comment parent, CommentAction commentAction)

Constructs a new PullRequestCommentEvent.

Parameters
source the component raising the event
pullRequest the affected pull request
comment the affected comment
parent the parent of the comment, which will be null for top-level comments
commentAction the action performed on the comment

Public Methods

@Nonnull public Comment getComment ()

@Nonnull public CommentAction getCommentAction ()

@Nullable public Comment getParent ()