public class ContextToLabelsEventListener extends Object implements org.springframework.beans.factory.DisposableBean
PageCreateEvent
and BlogPostCreateEvent
contain expected
parameters in their context property.Constructor and Description |
---|
ContextToLabelsEventListener(com.atlassian.event.api.EventPublisher eventPublisher,
LabelManager labelManager) |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
handleBlogCreate(BlogPostCreateEvent event) |
void |
handlePageCreate(PageCreateEvent event) |
void |
keepLabelAddedDuringPageCreation(LabelRemoveEvent event) |
public ContextToLabelsEventListener(com.atlassian.event.api.EventPublisher eventPublisher, LabelManager labelManager)
@EventListener public void handlePageCreate(PageCreateEvent event)
@EventListener public void handleBlogCreate(BlogPostCreateEvent event)
@EventListener public void keepLabelAddedDuringPageCreation(LabelRemoveEvent event)
Copyright © 2003–2015 Atlassian. All rights reserved.