com.atlassian.confluence.macro.browser
Class DefaultMacroMetadataManager

java.lang.Object
  extended by com.atlassian.confluence.macro.browser.DefaultMacroMetadataManager
All Implemented Interfaces:
MacroMetadataManager

public class DefaultMacroMetadataManager
extends Object
implements MacroMetadataManager

Manager providing MacroMetadata about the Macros in Confluence.


Constructor Summary
DefaultMacroMetadataManager(com.atlassian.plugin.PluginAccessor pluginAccessor)
           
 
Method Summary
 Set<MacroMetadata> getAllMacroMetadata()
          Retrieve all available metadata for macros in the system.
 MacroMetadata getMacroMetadataByName(String macroName)
          Retrieve the metadata for a single macro.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultMacroMetadataManager

public DefaultMacroMetadataManager(com.atlassian.plugin.PluginAccessor pluginAccessor)
Method Detail

getAllMacroMetadata

public Set<MacroMetadata> getAllMacroMetadata()
Description copied from interface: MacroMetadataManager
Retrieve all available metadata for macros in the system.

Specified by:
getAllMacroMetadata in interface MacroMetadataManager

getMacroMetadataByName

public MacroMetadata getMacroMetadataByName(String macroName)
Description copied from interface: MacroMetadataManager
Retrieve the metadata for a single macro. This may not be very efficient internally.

Specified by:
getMacroMetadataByName in interface MacroMetadataManager
Parameters:
macroName - the (simple, unfriendly) name of the macro, as will be returned by MacroMetadata.getMacroName() or MacroDefinition.getName().


Copyright © 2003-2011 Atlassian. All Rights Reserved.