public class MacroFormDetails extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MacroFormDetails.MacroFormDetailsBuilder |
public static MacroFormDetails.MacroFormDetailsBuilder builder()
@Deprecated public static MacroFormDetails makeParameterFormDetails(String macroName, String documentationUrl, boolean showDefaultParamInPlaceholder, List<MacroParameter> parameters)
MacroFormDetails.MacroFormDetailsBuilder
.@Deprecated public static MacroFormDetails makeParameterFormDetails(String macroName, String documentationUrl, boolean showDefaultParamInPlaceholder, int schemaVersion, List<MacroParameter> parameters)
MacroFormDetails.MacroFormDetailsBuilder
.public String getMacroName()
public void renderForDisplay(org.apache.velocity.context.Context context)
context
- the velocity context to render withpublic String getNotationHelp()
renderForDisplay(Context)
method must be called
before this.@Deprecated public String getDocumentationUrl()
getDocumentationLink()
instead.public DocumentationLink getDocumentationLink()
public void setBody(MacroBody body)
public MacroBody getBody()
MacroMetadata.isBodyDeprecated()
public boolean isFreeform()
public boolean isShowDefaultParamInPlaceholder()
public List<MacroParameter> getParameters()
public boolean hasRequiredParameters()
public int getSchemaVersion()
public Set<MacroMigrationPoint> getExcludedSchemaMigrationPoints()
MacroMigration
s should not be run.Copyright © 2003–2017 Atlassian. All rights reserved.