Class WebhookJsonEventFactory
- java.lang.Object
-
- com.atlassian.confluence.internal.webhooks.WebhookJsonEventFactory
-
@Component("webhookJsonEventFactory") public class WebhookJsonEventFactory extends Object
The entity to Map conversion is heavily based on the webhook payload mapping used by Confluence Cloud webhooks.
-
-
Constructor Summary
Constructors Constructor Description WebhookJsonEventFactory(com.atlassian.sal.api.ApplicationProperties applicationProperties, com.atlassian.sal.api.user.UserManager userManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
build(PageChildrenReorderEvent event)
Map<String,Object>
build(PageMoveEvent event)
Map<String,Object>
build(PageUpdateEvent event)
Map<String,Object>
build(com.atlassian.confluence.plugins.createcontent.api.events.BlueprintPageCreateEvent event)
Map<String,Object>
build(com.atlassian.webhooks.WebhookEvent webhookEvent, ConfluenceEvent event)
Map<String,Object>
build(com.atlassian.webhooks.WebhookEvent webhookEvent, AttachmentEvent event)
Map<String,Object>
build(com.atlassian.webhooks.WebhookEvent webhookEvent, BlogPostEvent event)
Map<String,Object>
build(com.atlassian.webhooks.WebhookEvent webhookEvent, CommentEvent event)
Map<String,Object>
build(com.atlassian.webhooks.WebhookEvent webhookEvent, ContentEvent event)
Map<String,Object>
build(com.atlassian.webhooks.WebhookEvent webhookEvent, PageEvent event)
Map<String,Object>
build(com.atlassian.webhooks.WebhookEvent webhookEvent, GroupEvent event)
Map<String,Object>
build(com.atlassian.webhooks.WebhookEvent webhookEvent, LabelEvent event)
Map<String,Object>
build(com.atlassian.webhooks.WebhookEvent webhookEvent, ContentPermissionEvent event)
Map<String,Object>
build(com.atlassian.webhooks.WebhookEvent webhookEvent, SpaceEvent event)
Map<String,Object>
build(com.atlassian.webhooks.WebhookEvent webhookEvent, UserEvent event)
Map<String,Object>
build(com.atlassian.webhooks.WebhookEvent webhookEvent, ThemeChangedEvent event)
-
-
-
Method Detail
-
build
public Map<String,Object> build(com.atlassian.webhooks.WebhookEvent webhookEvent, AttachmentEvent event)
-
build
public Map<String,Object> build(com.atlassian.webhooks.WebhookEvent webhookEvent, BlogPostEvent event)
-
build
public Map<String,Object> build(com.atlassian.confluence.plugins.createcontent.api.events.BlueprintPageCreateEvent event)
-
build
public Map<String,Object> build(com.atlassian.webhooks.WebhookEvent webhookEvent, CommentEvent event)
-
build
public Map<String,Object> build(com.atlassian.webhooks.WebhookEvent webhookEvent, ContentPermissionEvent event)
-
build
public Map<String,Object> build(com.atlassian.webhooks.WebhookEvent webhookEvent, ContentEvent event)
-
build
public Map<String,Object> build(com.atlassian.webhooks.WebhookEvent webhookEvent, ConfluenceEvent event)
-
build
public Map<String,Object> build(com.atlassian.webhooks.WebhookEvent webhookEvent, GroupEvent event)
-
build
public Map<String,Object> build(com.atlassian.webhooks.WebhookEvent webhookEvent, LabelEvent event)
-
build
public Map<String,Object> build(PageChildrenReorderEvent event)
-
build
public Map<String,Object> build(PageMoveEvent event)
-
build
public Map<String,Object> build(PageUpdateEvent event)
-
build
public Map<String,Object> build(com.atlassian.webhooks.WebhookEvent webhookEvent, PageEvent event)
-
build
public Map<String,Object> build(com.atlassian.webhooks.WebhookEvent webhookEvent, SpaceEvent event)
-
build
public Map<String,Object> build(com.atlassian.webhooks.WebhookEvent webhookEvent, ThemeChangedEvent event)
-
-