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