public interface MacroMetadataProvider
MacroBrowserManager
to provide additional
MacroMetadata
.Modifier and Type | Method and Description |
---|---|
@Nullable MacroMetadata |
getByMacroName(String macroName)
Returns the metadata for the named macro if it is known to this provider.
|
@Nullable MacroMetadata |
getByMacroNameAndId(String macroName,
String alternateId)
Returns the metadata for the named macro if it is known to this provider.
|
Collection<MacroMetadata> |
getData()
Returns a collection of
MacroMetadata for use in the Macro Browser. |
Collection<MacroSummary> |
getSummaries()
Returns a collection of
MacroMetadata for use in the Macro Browser. |
Collection<MacroMetadata> getData()
MacroMetadata
for use in the Macro Browser.
This collection need not necessarily be unique.Collection<MacroSummary> getSummaries()
MacroMetadata
for use in the Macro Browser.
This collection need not necessarily be unique. It's just the summaries.@Nullable MacroMetadata getByMacroName(String macroName)
macroName
- the (simple, unfriendly) name of the macro.@Nullable MacroMetadata getByMacroNameAndId(String macroName, String alternateId)
macroName
- the (simple, unfriendly) name of the macro.alternateId
- additional identification for macros where the macroName is not sufficient. If alternateId
is null, then it should be ignored.Copyright © 2003–2019 Atlassian. All rights reserved.