public class MacroMetadata extends Object
MacroFormDetails
class.Modifier | Constructor and Description |
---|---|
protected |
MacroMetadata(MacroMetadataBuilder builder) |
|
MacroMetadata(String macroName,
String pluginKey,
String title,
MacroIcon icon,
boolean isAlwaysShowConfig,
String description,
Set<String> aliases,
Set<String> categories,
boolean isBodyDeprecated,
boolean hidden,
MacroFormDetails formDetails,
String alternateId,
List<MacroPropertyPanelButton> buttons)
Deprecated.
Since 5.8. Use the builder constructor.
|
|
MacroMetadata(String macroName,
String pluginKey,
String title,
MacroIcon icon,
String description,
Set<String> aliases,
Set<String> categories,
boolean isBodyDeprecated,
boolean hidden,
MacroFormDetails formDetails,
String alternateId,
List<MacroPropertyPanelButton> buttons)
Deprecated.
Since 5.8. Use the builder constructor.
|
Modifier and Type | Method and Description |
---|---|
static MacroMetadataBuilder |
builder() |
MacroSummary |
extractMacroSummary() |
Set<String> |
getAliases()
Returns aliases for this macro.
|
String |
getAlternateId()
Returns an alternative id for the macro.
|
List<MacroPropertyPanelButton> |
getButtons() |
Set<String> |
getCategories()
Returns categories this macro should be displayed within in the Macro Browser.
|
Message |
getDescription() |
MacroFormDetails |
getFormDetails() |
MacroIcon |
getIcon() |
String |
getMacroName() |
String |
getPluginKey() |
Message |
getTitle() |
boolean |
isBodyDeprecated() |
boolean |
isHidden() |
String |
toString() |
@Deprecated public MacroMetadata(String macroName, String pluginKey, String title, MacroIcon icon, String description, Set<String> aliases, Set<String> categories, boolean isBodyDeprecated, boolean hidden, MacroFormDetails formDetails, String alternateId, List<MacroPropertyPanelButton> buttons)
@Deprecated public MacroMetadata(String macroName, String pluginKey, String title, MacroIcon icon, boolean isAlwaysShowConfig, String description, Set<String> aliases, Set<String> categories, boolean isBodyDeprecated, boolean hidden, MacroFormDetails formDetails, String alternateId, List<MacroPropertyPanelButton> buttons)
protected MacroMetadata(MacroMetadataBuilder builder)
public static MacroMetadataBuilder builder()
public String getMacroName()
public String getPluginKey()
public MacroIcon getIcon()
MacroIcon
, containing the url string to the macro icon and whether or not the URL is
relative. Can return null.public Message getTitle()
public Message getDescription()
public Set<String> getAliases()
public Set<String> getCategories()
public boolean isBodyDeprecated()
Macro.hasBody()
implementation.public boolean isHidden()
public String getAlternateId()
public MacroFormDetails getFormDetails()
public List<MacroPropertyPanelButton> getButtons()
public MacroSummary extractMacroSummary()
Copyright © 2003–2015 Atlassian. All rights reserved.