Class MacroCreateEventPublisher
- java.lang.Object
-
- com.atlassian.confluence.macro.count.MacroCreateEventPublisher
-
- All Implemented Interfaces:
RenderingEventPublisher
public class MacroCreateEventPublisher extends Object implements RenderingEventPublisher
Publishes aMacroCountEvent
for each type of newly added macro.- Since:
- 5.6
-
-
Constructor Summary
Constructors Constructor Description MacroCreateEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher, MacroCountStore macroCountStore)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
publish(Object src, ConversionContext conversionContext)
Publishes aMacroCountEvent
for each type of newly added macro encountered.
-
-
-
Constructor Detail
-
MacroCreateEventPublisher
public MacroCreateEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher, MacroCountStore macroCountStore)
-
-
Method Detail
-
publish
public void publish(Object src, ConversionContext conversionContext)
Publishes aMacroCountEvent
for each type of newly added macro encountered.- Specified by:
publish
in interfaceRenderingEventPublisher
-
-