public interface CommentEventPublisher
CommentEvent publication.| Modifier and Type | Method and Description |
|---|---|
void |
publishCommentCreatedEvent(Comment comment,
Map<String,Object> parameters)
Publishes events when a comment is updated.
|
void |
publishCommentDeletedEvent(Comment comment)
Publishes events when a comment is deleted.
|
void |
publishCommentUpdatedEvent(Comment comment,
Map<String,Object> parameters)
Publishes events when a comment is created.
|
void publishCommentUpdatedEvent(Comment comment, Map<String,Object> parameters)
CommentCreatedEvent
and IssueEvent with event type EventType.ISSUE_COMMENTED_ID.comment - the comment which was created.parameters - parameters of the newly created comment.void publishCommentCreatedEvent(Comment comment, Map<String,Object> parameters)
CommentUpdatedEvent
and IssueEvent with event type EventType.ISSUE_COMMENT_EDITED_ID.comment - the comment which was updated.parameters - parameters of the updated comment.void publishCommentDeletedEvent(Comment comment)
publishCommentCreatedEvent(Comment, Map)
and publishCommentUpdatedEvent(Comment, Map) this method only publishes CommentDeletedEvent.
IssueEvent with EventType.ISSUE_COMMENT_DELETED_ID are published by
IssueUpdater.comment - the comment which was deleted.Copyright © 2002-2017 Atlassian. All Rights Reserved.