@ParametersAreNonnullByDefault public class CommentHandlerImpl extends Object implements CommentHandler
Constructor and Description |
---|
CommentHandlerImpl(com.atlassian.audit.api.AuditService auditService,
JiraAuthenticationContext authenticationContext) |
Modifier and Type | Method and Description |
---|---|
void |
handleCommentAdded(Comment added) |
void |
handleCommentDeleted(Comment deleted) |
void |
handleCommentLimited(Issue issue,
ApplicationUser author,
String body,
long limitValue)
Handle when adding comment is declined because it would exceed a configured Safeguards limit.
|
public CommentHandlerImpl(com.atlassian.audit.api.AuditService auditService, JiraAuthenticationContext authenticationContext)
public void handleCommentDeleted(Comment deleted)
handleCommentDeleted
in interface CommentHandler
public void handleCommentAdded(@Nonnull Comment added)
handleCommentAdded
in interface CommentHandler
public void handleCommentLimited(@Nonnull Issue issue, @Nullable ApplicationUser author, @Nullable String body, long limitValue)
CommentHandler
handleCommentLimited
in interface CommentHandler
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 limitCopyright © 2002-2024 Atlassian. All Rights Reserved.