Class MacroParameterBuilder
- java.lang.Object
-
- com.atlassian.confluence.macro.browser.beans.MacroParameterBuilder
-
public class MacroParameterBuilder extends Object
Builder class forMacroParameter
.
-
-
Constructor Summary
Constructors Constructor Description MacroParameterBuilder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description MacroParameter
build()
static MacroParameterBuilder
builder()
MacroParameterBuilder
setAliases(Set<String> aliases)
MacroParameterBuilder
setDefaultValue(String defaultValue)
MacroParameterBuilder
setDocumentationUrl(String documentationUrl)
Deprecated.since 5.5.MacroParameterBuilder
setEnumValues(List<String> enumValues)
MacroParameterBuilder
setHidden(boolean hidden)
MacroParameterBuilder
setMacroName(String macroName)
MacroParameterBuilder
setMultiple(boolean multiple)
MacroParameterBuilder
setName(String name)
MacroParameterBuilder
setPluginKey(String pluginKey)
MacroParameterBuilder
setRequired(boolean required)
MacroParameterBuilder
setType(MacroParameterType type)
-
-
-
Method Detail
-
build
public MacroParameter build()
-
builder
public static MacroParameterBuilder builder()
-
setPluginKey
public MacroParameterBuilder setPluginKey(String pluginKey)
-
setMacroName
public MacroParameterBuilder setMacroName(String macroName)
-
setName
public MacroParameterBuilder setName(String name)
-
setType
public MacroParameterBuilder setType(MacroParameterType type)
-
setDefaultValue
public MacroParameterBuilder setDefaultValue(String defaultValue)
-
setRequired
public MacroParameterBuilder setRequired(boolean required)
-
setMultiple
public MacroParameterBuilder setMultiple(boolean multiple)
-
setAliases
public MacroParameterBuilder setAliases(Set<String> aliases)
-
setEnumValues
public MacroParameterBuilder setEnumValues(List<String> enumValues)
-
setHidden
public MacroParameterBuilder setHidden(boolean hidden)
-
setDocumentationUrl
@Deprecated public MacroParameterBuilder setDocumentationUrl(String documentationUrl)
Deprecated.since 5.5. No replacement.
-
-