Class MacroDefinitionBuilder
java.lang.Object
com.atlassian.confluence.xhtml.api.MacroDefinitionBuilder
A builder that will create the a complex
MacroDefinition.-
Method Summary
Modifier and TypeMethodDescriptionbuild()com.atlassian.fugue.Option<MacroId>Deprecated.since 7.0.1getName()intvoidsetDefaultParameterValue(String defaultParameterValue) withMacroBody(MacroBody macroBody) withMacroId(MacroId macroId) withMacroId(com.atlassian.fugue.Option<MacroId> macroId) Deprecated.since 7.0.1.withMacroId(String macroId) withMacroIdentifier(MacroId macroId) withMacroIdentifier(String macroId) withParameter(String key, String value) withParameters(Map<String, String> parameters) withSchemaVersion(int schemaVersion) withStorageVersion(String storageVersion) withTypedParameter(String key, Object value) withTypedParameters(Map<String, Object> typedParameters)
-
Method Details
-
withName
-
withMacroBody
-
withParameters
-
withParameter
-
withTypedParameters
-
withTypedParameter
-
withStorageVersion
-
withMacroId
Deprecated.since 7.0.1. UsewithMacroIdentifier(String) -
withMacroId
-
withMacroId
-
withMacroIdentifier
- Since:
- 7.0.1
-
withMacroIdentifier
- Since:
- 7.0.1
-
withSchemaVersion
-
getName
-
getSchemaVersion
public int getSchemaVersion() -
getMacroBody
-
getParameters
-
getTypedParameters
-
getStorageVersion
-
getMacroId
Deprecated.since 7.0.1 -
getMacroIdentifier
- Since:
- 7.0.1
-
build
-
setDefaultParameterValue
-