public class MacroDefinitionBuilder extends Object
MacroDefinition
.public MacroDefinitionBuilder withName(String name)
public MacroDefinitionBuilder withMacroBody(MacroBody macroBody)
public MacroDefinitionBuilder withParameters(Map<String,String> parameters)
public MacroDefinitionBuilder withParameter(String key, String value)
public MacroDefinitionBuilder withTypedParameters(Map<String,Object> typedParameters)
public MacroDefinitionBuilder withTypedParameter(String key, Object value)
public MacroDefinitionBuilder withStorageVersion(String storageVersion)
@Deprecated public MacroDefinitionBuilder withMacroId(com.atlassian.fugue.Option<MacroId> macroId)
withMacroIdentifier(String)
public MacroDefinitionBuilder withMacroId(MacroId macroId)
public MacroDefinitionBuilder withMacroId(String macroId)
public MacroDefinitionBuilder withMacroIdentifier(MacroId macroId)
public MacroDefinitionBuilder withMacroIdentifier(String macroId)
public MacroDefinitionBuilder withSchemaVersion(int schemaVersion)
public String getName()
public int getSchemaVersion()
public MacroBody getMacroBody()
public String getStorageVersion()
@Deprecated public com.atlassian.fugue.Option<MacroId> getMacroId()
public MacroId getMacroIdentifier()
public MacroDefinition build()
public void setDefaultParameterValue(String defaultParameterValue)
Copyright © 2003–2019 Atlassian. All rights reserved.