public class DefaultMacroBrowserManager extends Object implements MacroBrowserManager
Constructor and Description |
---|
DefaultMacroBrowserManager(MacroMetadataManager metadataManager) |
Modifier and Type | Method and Description |
---|---|
Set<MacroCategory> |
getMacroCategories()
Returns the available macro categories.
|
Set<MacroMetadata> |
getMacroMetadata()
Returns the metadata for all macros in the system.
|
Set<MacroMetadata> |
getMacroMetadata(Collection<String> whitelist)
Retrieves a set of macros that matches the whitelisted macro names.
|
Set<MacroSummary> |
getMacroSummaries()
Retrieve just the key, title, description and icon of all the macros
|
public DefaultMacroBrowserManager(MacroMetadataManager metadataManager)
public Set<MacroCategory> getMacroCategories()
getMacroCategories
in interface MacroBrowserManager
public Set<MacroMetadata> getMacroMetadata()
getMacroMetadata
in interface MacroBrowserManager
public Set<MacroMetadata> getMacroMetadata(Collection<String> whitelist)
MacroBrowserManager
getMacroMetadata
in interface MacroBrowserManager
public Set<MacroSummary> getMacroSummaries()
MacroBrowserManager
getMacroSummaries
in interface MacroBrowserManager
Copyright © 2003–2017 Atlassian. All rights reserved.