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)
public MacroDefinitionBuilder withMacroId(com.atlassian.fugue.Option<MacroId> macroId)
public MacroDefinitionBuilder withMacroId(MacroId macroId)
public MacroDefinitionBuilder withMacroId(String macroId)
public MacroDefinitionBuilder withSchemaVersion(int schemaVersion)
public String getName()
public int getSchemaVersion()
public MacroBody getMacroBody()
public String getStorageVersion()
public com.atlassian.fugue.Option<MacroId> getMacroId()
public MacroDefinition build()
public void setDefaultParameterValue(String defaultParameterValue)
Copyright © 2003–2016 Atlassian. All rights reserved.