public class GadgetMacroParameter extends MacroParameter
DELIMITER_DEFAULT, DELIMITER_OPTION
Constructor and Description |
---|
GadgetMacroParameter(com.atlassian.gadgets.spec.UserPrefSpec pref)
Creates a macro parameter from the provided
UserPrefSpec . |
Modifier and Type | Method and Description |
---|---|
Message |
getDescription() |
Message |
getDisplayName() |
boolean |
isShared()
This results in the macro browser copying the value of this parameter
into the value of another parameter.
|
addAlias, addEnumValue, addOption, addOptions, getAliases, getDefaultValue, getEnumValues, getName, getOptions, getType, isHidden, isMultiple, isRequired, setDescription, setDisplayName, toString
public GadgetMacroParameter(com.atlassian.gadgets.spec.UserPrefSpec pref)
UserPrefSpec
.
Note that only the values from enums are provided, not the keys.
This is due to lack of support in the MacroBrowser despite the addOption() method.public boolean isShared()
public Message getDisplayName()
getDisplayName
in class MacroParameter
public Message getDescription()
getDescription
in class MacroParameter
Copyright © 2003–2015 Atlassian. All rights reserved.