@AsynchronousPreferred public class PullRequestCommentAddedEvent extends PullRequestCommentEvent
This does not include replies, which raise a PullRequestCommentRepliedEvent
.
source
Constructor and Description |
---|
PullRequestCommentAddedEvent(Object source,
PullRequest pullRequest,
Comment comment) |
PullRequestCommentAddedEvent(Object source,
PullRequest pullRequest,
Comment comment,
Comment parent)
Deprecated.
in 6.6 for removal in 8.0. Use
PullRequestCommentAddedEvent(Object, PullRequest,
Comment) instead |
getComment, getCommentAction, getParent
getAction, getPullRequest
getDate, getUser
getSource, toString
public PullRequestCommentAddedEvent(@Nonnull Object source, @Nonnull PullRequest pullRequest, @Nonnull Comment comment)
source
- the component raising the eventpullRequest
- the pull request this comment relates tocomment
- the comment@Deprecated public PullRequestCommentAddedEvent(@Nonnull Object source, @Nonnull PullRequest pullRequest, @Nonnull Comment comment, @Nullable Comment parent)
PullRequestCommentAddedEvent(Object, PullRequest,
Comment)
insteadsource
- the component raising the eventpullRequest
- the pull request this comment relates tocomment
- the commentparent
- always null
because this event is only published for top-level commentsCopyright © 2022 Atlassian. All rights reserved.