com.atlassian.confluence.macro.count
Class MacroViewEventPublisher

java.lang.Object
  extended by com.atlassian.confluence.macro.count.MacroViewEventPublisher
All Implemented Interfaces:
RenderingEventPublisher

public class MacroViewEventPublisher
extends java.lang.Object
implements RenderingEventPublisher

Publishes macro count events from a MacroCounter.

Since:
v5.6

Constructor Summary
MacroViewEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher)
           
 
Method Summary
 void publish(java.lang.Object src, ConversionContext conversionContext)
          Attempts to retrieve a MacroCounter from the RenderContext and publishes a MacroCountEvent for each type of macro encountered during rendering.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MacroViewEventPublisher

public MacroViewEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher)
Method Detail

publish

public void publish(java.lang.Object src,
                    ConversionContext conversionContext)
Attempts to retrieve a MacroCounter from the RenderContext and publishes a MacroCountEvent for each type of macro encountered during rendering.

Specified by:
publish in interface RenderingEventPublisher
Parameters:
src -
conversionContext -


Copyright © 2003-2014 Atlassian. All Rights Reserved.