com.atlassian.confluence.macro.browser.beans
Class MacroMetadataBuilder

java.lang.Object
  extended by com.atlassian.confluence.macro.browser.beans.MacroMetadataBuilder
Direct Known Subclasses:
GadgetMacroMetadataBuilder

public class MacroMetadataBuilder
extends Object

Builder class for MacroMetadata.


Constructor Summary
MacroMetadataBuilder()
           
 
Method Summary
 MacroMetadata build()
           
static MacroMetadataBuilder builder()
           
 Set<String> getAliases()
           
 String getAlternateId()
           
 Set<String> getCategories()
           
 String getDescription()
           
 MacroFormDetails getFormDetails()
           
 MacroIcon getIcon()
           
 String getMacroName()
           
 String getPluginKey()
           
 String getTitle()
           
 boolean isBodyDeprecated()
           
 boolean isHidden()
           
 MacroMetadataBuilder setAliases(Set<String> aliases)
           
 MacroMetadataBuilder setAlternateId(String alternateId)
           
 MacroMetadataBuilder setAlwaysShowConfig(boolean isAlwaysShowConfig)
           
 MacroMetadataBuilder setBodyDeprecated(boolean bodyDeprecated)
           
 MacroMetadataBuilder setButtons(List<MacroPropertyPanelButton> buttons)
           
 MacroMetadataBuilder setCategories(Set<String> categories)
           
 MacroMetadataBuilder setDescription(String description)
           
 MacroMetadataBuilder setFormDetails(MacroFormDetails formDetails)
           
 MacroMetadataBuilder setHidden(boolean hidden)
           
 MacroMetadataBuilder setIcon(MacroIcon icon)
           
 MacroMetadataBuilder setMacroName(String macroName)
           
 MacroMetadataBuilder setPluginKey(String pluginKey)
           
 MacroMetadataBuilder setShowDefaultParameterInPlaceholder(boolean showDefaultParameterInPlaceholder)
           
 MacroMetadataBuilder setTitle(String title)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MacroMetadataBuilder

public MacroMetadataBuilder()
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()

getAliases

public Set<String> getAliases()

getCategories

public Set<String> getCategories()

isBodyDeprecated

public boolean isBodyDeprecated()

isHidden

public boolean isHidden()

getFormDetails

public MacroFormDetails getFormDetails()

getAlternateId

public String getAlternateId()


Copyright © 2003–2015 Atlassian. All rights reserved.