com.atlassian.confluence.plugins.gadgets.metadata
Class GadgetUsageTracker

java.lang.Object
  extended by com.atlassian.confluence.plugins.gadgets.metadata.GadgetUsageTracker

public class GadgetUsageTracker
extends Object

Kesps track of which gadgets are in active use by the system, by listening to events triggered by usage of those gadgets. It also tracks whether cross-gadget functions such as the gadget directory or the gadget REST endpoint are being used.

Since:
v5.5

Constructor Summary
GadgetUsageTracker()
           
 
Method Summary
 void gadgetDirectoryFetched(GadgetDirectoryRetrievalEvent event)
           
 void gadgetInfoRestFetched(GadgetInfoRestFetchEvent event)
           
 void gadgetMacroRendered(GadgetMacroRenderedEvent event)
           
 void gadgetPlaceholderRendered(GadgetPlaceholderRenderedEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GadgetUsageTracker

public GadgetUsageTracker()
Method Detail

gadgetMacroRendered

@EventListener
public void gadgetMacroRendered(GadgetMacroRenderedEvent event)

gadgetPlaceholderRendered

@EventListener
public void gadgetPlaceholderRendered(GadgetPlaceholderRenderedEvent event)

gadgetDirectoryFetched

@EventListener
public void gadgetDirectoryFetched(GadgetDirectoryRetrievalEvent event)

gadgetInfoRestFetched

@EventListener
public void gadgetInfoRestFetched(GadgetInfoRestFetchEvent event)


Copyright © 2003–2015 Atlassian. All rights reserved.