Class PullRequestCommentDeletionRequestedEvent

All Implemented Interfaces:
CancelableEvent, CancelState, Serializable

public class PullRequestCommentDeletionRequestedEvent extends PullRequestCancelableCommentEvent
Event that is raised before a comment in a pull request is deleted. This event is synchronous, allowing listeners to perform operations in the same database transaction where the comment is deleted.

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

Since:
6.6
See Also:
  • Constructor Details

    • PullRequestCommentDeletionRequestedEvent

      public PullRequestCommentDeletionRequestedEvent(@Nonnull Object source, @Nonnull PullRequest pullRequest, @Nonnull Comment comment, @Nullable Comment parent, @Nonnull CancelState cancelState)