Interface CommentHandler
- All Known Implementing Classes:
CommentHandlerImpl
public interface CommentHandler
-
Method Summary
Modifier and TypeMethodDescriptionvoidhandleCommentAdded(Comment added) voidhandleCommentDeleted(Comment deleted) voidhandleCommentLimited(Issue issue, ApplicationUser author, String body, long limitValue) Handle when adding comment is declined because it would exceed a configured Safeguards limit.
-
Method Details
-
handleCommentDeleted
-
handleCommentAdded
-
handleCommentLimited
void handleCommentLimited(@Nonnull Issue issue, ApplicationUser author, String body, long limitValue) Handle when adding comment is declined because it would exceed a configured Safeguards limit.- Parameters:
issue- the parent Issueauthor- the User specified as the author of the declined commentbody- the body of the declined commentlimitValue- the currently configured value of the Safeguards limit- Since:
- 9.0
-