@AsynchronousPreferred public class CommitDiscussionCommentAddedEvent extends CommitDiscussionCommentEvent
This does not include replies, which raise a CommitDiscussionCommentRepliedEvent
.
source
Constructor and Description |
---|
CommitDiscussionCommentAddedEvent(Object source,
CommitDiscussion discussion,
Comment comment) |
CommitDiscussionCommentAddedEvent(Object source,
CommitDiscussion discussion,
Comment comment,
Comment parent)
Deprecated.
in 6.6 for removal in 7.0. Use
CommitDiscussionCommentAddedEvent(Object,
CommitDiscussion, Comment) instead. |
getComment, getCommentAction, getParent
getDiscussion
getRepository
getDate, getUser
getSource, toString
public CommitDiscussionCommentAddedEvent(@Nonnull Object source, @Nonnull CommitDiscussion discussion, @Nonnull Comment comment)
source
- the component raising the eventdiscussion
- the commit discussion this comment relates tocomment
- the comment@Deprecated public CommitDiscussionCommentAddedEvent(@Nonnull Object source, @Nonnull CommitDiscussion discussion, @Nonnull Comment comment, @Nullable Comment parent)
CommitDiscussionCommentAddedEvent(Object,
CommitDiscussion, Comment)
instead.source
- the component raising the eventdiscussion
- the commit discussion this comment relates tocomment
- the commentparent
- always null
because this event is only published for top-level commentsCopyright © 2019 Atlassian. All rights reserved.