public interface MacroMetadataManager
| Modifier and Type | Method and Description |
|---|---|
@NonNull Set<MacroMetadata> |
getAllMacroMetadata()
Retrieve all available metadata for macros in the system.
|
@NonNull Set<MacroSummary> |
getAllMacroSummaries()
Return summaries of all macros in the system.
|
@Nullable MacroMetadata |
getMacroMetadataByName(String macroName)
Retrieve the metadata for a single macro.
|
@Nullable MacroMetadata |
getMacroMetadataByNameAndId(String macroName,
String alternateId)
Retrieve the metadata for a single macro.
|
@NonNull Map<String,MacroParameter> |
getParameters(String macroName)
Retrieve the parameter information for a single macro.
|
@NonNull Map<String,MacroParameterType> |
getParameterTypes(String macroName)
Retrieve the parameter type information for a single macro.
|
@NonNull Set<MacroMetadata> getAllMacroMetadata()
@NonNull Set<MacroSummary> getAllMacroSummaries()
@Nullable MacroMetadata getMacroMetadataByName(String macroName)
macroName - the (simple, unfriendly) name of the macro, as will be returned by
MacroMetadata.getMacroName() or MacroDefinition.getName().@Nullable MacroMetadata getMacroMetadataByNameAndId(String macroName, String alternateId)
macroName - the (simple, unfriendly) name of the macro, as will be returned by
MacroMetadata.getMacroName() or MacroDefinition.getName().alternateId - additional identification for macros where the macroName is not sufficient. This will
be ignored, if null.@NonNull Map<String,MacroParameterType> getParameterTypes(String macroName)
macroName - the name of the macro, as will be returned by MacroMetadata.getMacroName() or
MacroDefinition.getName().@NonNull Map<String,MacroParameter> getParameters(String macroName)
macroName - the name of the macro, as will be returned by MacroMetadata.getMacroName() or
MacroDefinition.getName().Copyright © 2003–2022 Atlassian. All rights reserved.