public class MacroSummary extends Object
Modifier and Type | Method and Description |
---|---|
Set<String> |
getAliases()
Returns aliases for this macro.
|
String |
getAlternateId() |
List<MacroPropertyPanelButton> |
getButtons() |
Set<String> |
getCategories()
Returns categories this macro should be displayed within in the Macro Browser.
|
Message |
getDescription() |
String |
getGadgetUrl() |
MacroIcon |
getIcon() |
String |
getMacroName() |
String |
getPluginKey() |
Message |
getTitle() |
boolean |
isAlwaysShowConfig()
If a macro is inserted that has required fields, we show the macro configuration dialog.
|
boolean |
isAnyParameterRequired() |
boolean |
isBodyDeprecated() |
boolean |
isHidden() |
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()
Aliases are other macro names that can be substituted for the "main" macro name. For example "web-widget" can be used instead of "widget" for the "Widget Connector" macro. Only the "main" name is used by the macro-browser, so we use the Strings returned by this method to edit in the macro-browser those macros with an alias in their markup.
public Set<String> getCategories()
Categories allow macros to be browsed instead of searched. The Macro Browser has a list view where all macros for a given category are displayed, and adding the category name to the set returned from this method displays this macro in that category list.
public boolean isBodyDeprecated()
Macro.hasBody()
implementation.public boolean isHidden()
public String getAlternateId()
public List<MacroPropertyPanelButton> getButtons()
public boolean isAnyParameterRequired()
public boolean isAlwaysShowConfig()
public String getGadgetUrl()
Copyright © 2003–2020 Atlassian. All rights reserved.