Class CommentHandlerImpl
java.lang.Object
com.atlassian.jira.auditing.handlers.CommentHandlerImpl
- All Implemented Interfaces:
CommentHandler
@ParametersAreNonnullByDefault
public class CommentHandlerImpl
extends Object
implements CommentHandler
-
Constructor Summary
ConstructorsConstructorDescriptionCommentHandlerImpl(com.atlassian.audit.api.AuditService auditService, JiraAuthenticationContext authenticationContext) -
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.
-
Constructor Details
-
CommentHandlerImpl
public CommentHandlerImpl(com.atlassian.audit.api.AuditService auditService, JiraAuthenticationContext authenticationContext)
-
-
Method Details
-
handleCommentDeleted
- Specified by:
handleCommentDeletedin interfaceCommentHandler
-
handleCommentAdded
- Specified by:
handleCommentAddedin interfaceCommentHandler
-
handleCommentLimited
public void handleCommentLimited(@Nonnull Issue issue, @Nullable ApplicationUser author, @Nullable String body, long limitValue) Description copied from interface:CommentHandlerHandle when adding comment is declined because it would exceed a configured Safeguards limit.- Specified by:
handleCommentLimitedin interfaceCommentHandler- 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
-