com.atlassian.confluence.macro.browser
Class DefaultMacroBrowserManager
java.lang.Object
com.atlassian.confluence.macro.browser.DefaultMacroBrowserManager
- All Implemented Interfaces:
- MacroBrowserManager
public class DefaultMacroBrowserManager
- extends Object
- implements MacroBrowserManager
Default MacroBrowserManager implementation. Stores Macro metadata and "extra" details from plugin descriptors,
a fallback file, and notification help.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultMacroBrowserManager
public DefaultMacroBrowserManager(com.atlassian.plugin.PluginAccessor pluginAccessor)
getMacroCategories
public Set<MacroCategory> getMacroCategories()
- Returns the available macro categories.
- Specified by:
getMacroCategories
in interface MacroBrowserManager
getMacroMetadata
public Set<MacroMetadata> getMacroMetadata()
- Returns the metadata for all macros in the system, excluding user macros. Macro metadata
might be retrieved from the fallback XML file in Confluence if there's none in the macro
itself.
- Specified by:
getMacroMetadata
in interface MacroBrowserManager