Class JiraWebhookEventPublisher
java.lang.Object
com.atlassian.jira.plugins.webhooks.spi.JiraWebhookEventPublisher
-
Constructor Summary
ConstructorsConstructorDescriptionJiraWebhookEventPublisher
(com.atlassian.event.api.EventPublisher eventPublisher, WebhookJsonEventFactory jsonEventFactory, UrlContextFactory urlContextFactory, com.atlassian.webhooks.WebhookService webhookService, JiraAuthenticationContext authenticationContext, JiraThreadLocalUtil jiraThreadLocalUtil) -
Method Summary
Modifier and TypeMethodDescriptionvoid
destroy()
void
init()
void
onAutoUserUpdatedEvent
(com.atlassian.crowd.event.user.AutoUserUpdatedEvent event) void
void
void
void
void
void
onIssueEvent
(IssueEvent event) DO NOT REMOVE order - listener should run after indexing is done to use JQL filtering This listener should handle only NON-REDUNDANT events.void
void
void
void
void
void
void
void
void
void
onUserCreatedEvent
(com.atlassian.crowd.event.user.UserCreatedEvent event) void
onUserDeletedEvent
(com.atlassian.crowd.event.user.UserDeletedEvent event) void
onUserEditedEvent
(com.atlassian.crowd.event.user.UserEditedEvent event) void
void
void
void
void
void
void
void
void
void
void
-
Constructor Details
-
JiraWebhookEventPublisher
public JiraWebhookEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher, WebhookJsonEventFactory jsonEventFactory, UrlContextFactory urlContextFactory, com.atlassian.webhooks.WebhookService webhookService, JiraAuthenticationContext authenticationContext, JiraThreadLocalUtil jiraThreadLocalUtil)
-
-
Method Details
-
destroy
@PreDestroy public void destroy() -
init
@PostConstruct public void init() -
onIssueEvent
DO NOT REMOVE order - listener should run after indexing is done to use JQL filtering This listener should handle only NON-REDUNDANT events. In case of redundant, another OnCommitIssueEventBundle should be produced on transaction commit. It allows to ensure generating up-to-date payloads in webhooks.- See Also:
-
onCommitIssueEventBundle
-
onIssuePreDeleteEvent
-
onCommentCreatedEvent
-
onCommentUpdatedEvent
-
onCommentDeletedEvent
-
onIssueLinkCreatedEvent
-
onIssueLinkDeletedEvent
-
onWorklogCreatedEvent
-
onWorklogUpdatedEvent
-
onWorklogDeletedEvent
-
onVersionReleaseEvent
-
onVersionUnreleaseEvent
-
onVersionCreateEvent
-
onVersionMoveEvent
-
onVersionUpdatedEvent
-
onVersionMergeEvent
-
onVersionDeleteEvent
-
onProjectCreatedEvent
-
onProjectUpdatedEvent
-
onProjectDeletedEvent
-
onProjectArchivedEvent
-
onProjectRestoredEvent
-
onUserCreatedEvent
@EventListener public void onUserCreatedEvent(com.atlassian.crowd.event.user.UserCreatedEvent event) -
onUserDeletedEvent
@EventListener public void onUserDeletedEvent(com.atlassian.crowd.event.user.UserDeletedEvent event) -
onUserEditedEvent
@EventListener public void onUserEditedEvent(com.atlassian.crowd.event.user.UserEditedEvent event) -
onAutoUserUpdatedEvent
@EventListener public void onAutoUserUpdatedEvent(com.atlassian.crowd.event.user.AutoUserUpdatedEvent event) -
onBooleanApplicationPropertySetEvent
@EventListener public void onBooleanApplicationPropertySetEvent(BooleanApplicationPropertySetEvent event) -
onStringApplicationPropertySetEvent
@EventListener public void onStringApplicationPropertySetEvent(StringApplicationPropertySetEvent event) -
onWebHookPostFunctionEvent
-