Class MacroMetadataBuilder
java.lang.Object
com.atlassian.confluence.macro.browser.beans.MacroMetadataBuilder
Builder class for
MacroMetadata
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static MacroMetadataBuilder
builder()
getIcon()
getTitle()
boolean
boolean
boolean
isHidden()
setAliases
(Set<String> aliases) setAlternateId
(String alternateId) setAlwaysShowConfig
(boolean isAlwaysShowConfig) setBodyDeprecated
(boolean bodyDeprecated) setButtons
(List<MacroPropertyPanelButton> buttons) setCategories
(Set<String> categories) setDescription
(String description) setFormDetails
(MacroFormDetails formDetails) setHidden
(boolean hidden) setMacroName
(String macroName) setPluginKey
(String pluginKey) setShowDefaultParameterInPlaceholder
(boolean showDefaultParameterInPlaceholder)
-
Constructor Details
-
MacroMetadataBuilder
Deprecated.since 5.8. UseMacroMetadata.builder()
.
-
-
Method Details
-
build
-
setMacroName
-
setPluginKey
-
setIcon
-
setTitle
-
setAlwaysShowConfig
-
setDescription
-
setAliases
-
setCategories
-
setBodyDeprecated
-
setHidden
-
setFormDetails
-
setAlternateId
-
setButtons
-
setShowDefaultParameterInPlaceholder
public MacroMetadataBuilder setShowDefaultParameterInPlaceholder(boolean showDefaultParameterInPlaceholder) -
builder
-
getMacroName
-
getPluginKey
-
getIcon
-
getTitle
-
getDescription
-
getAliases
-
getCategories
-
isBodyDeprecated
public boolean isBodyDeprecated() -
isHidden
public boolean isHidden() -
getFormDetails
-
getAlternateId
-
getButtons
-
isAlwaysShowConfig
public boolean isAlwaysShowConfig()
-