Class CommentHandlerImpl

java.lang.Object
com.atlassian.jira.auditing.handlers.CommentHandlerImpl
All Implemented Interfaces:
CommentHandler

@ParametersAreNonnullByDefault public class CommentHandlerImpl extends Object implements CommentHandler
  • Constructor Details

    • CommentHandlerImpl

      public CommentHandlerImpl(com.atlassian.audit.api.AuditService auditService, JiraAuthenticationContext authenticationContext)
  • Method Details

    • handleCommentDeleted

      public void handleCommentDeleted(Comment deleted)
      Specified by:
      handleCommentDeleted in interface CommentHandler
    • handleCommentAdded

      public void handleCommentAdded(@Nonnull Comment added)
      Specified by:
      handleCommentAdded in interface CommentHandler
    • handleCommentLimited

      public void handleCommentLimited(@Nonnull Issue issue, @Nullable ApplicationUser author, @Nullable String body, long limitValue)
      Description copied from interface: CommentHandler
      Handle when adding comment is declined because it would exceed a configured Safeguards limit.
      Specified by:
      handleCommentLimited in interface CommentHandler
      Parameters:
      issue - the parent Issue
      author - the User specified as the author of the declined comment
      body - the body of the declined comment
      limitValue - the currently configured value of the Safeguards limit