Class DefaultMacroBrowserManager
java.lang.Object
com.atlassian.confluence.macro.browser.DefaultMacroBrowserManager
- All Implemented Interfaces:
MacroBrowserManager
Default MacroBrowserManager implementation. Retrieves macro metadata and "extra" details from plugin descriptors,
a fallback file, and notification help.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the available macro categories.Returns the metadata for all macros in the system.getMacroMetadata(Collection<String> whitelist) Retrieves a set of macros that matches the whitelisted macro names.Retrieve just the key, title, description and icon of all the macros
-
Constructor Details
-
DefaultMacroBrowserManager
-
-
Method Details
-
getMacroCategories
Returns the available macro categories.- Specified by:
getMacroCategoriesin interfaceMacroBrowserManager
-
getMacroMetadata
Returns the metadata for all macros in the system. Macro metadata might be retrieved from the fallback XML file in Confluence if there's none in the macro itself.- Specified by:
getMacroMetadatain interfaceMacroBrowserManager
-
getMacroMetadata
Description copied from interface:MacroBrowserManagerRetrieves a set of macros that matches the whitelisted macro names.- Specified by:
getMacroMetadatain interfaceMacroBrowserManager- Returns:
-
getMacroSummaries
Description copied from interface:MacroBrowserManagerRetrieve just the key, title, description and icon of all the macros- Specified by:
getMacroSummariesin interfaceMacroBrowserManager
-