public class MacroFormDetails extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MacroFormDetails.MacroFormDetailsBuilder |
Modifier and Type | Method and Description |
---|---|
static MacroFormDetails.MacroFormDetailsBuilder |
builder() |
MacroBody |
getBody() |
DocumentationLink |
getDocumentationLink() |
String |
getDocumentationUrl()
Deprecated.
since 5.5. Use
getDocumentationLink() instead. |
Set<MacroMigrationPoint> |
getExcludedSchemaMigrationPoints() |
String |
getMacroName() |
String |
getNotationHelp() |
List<MacroParameter> |
getParameters() |
int |
getSchemaVersion() |
boolean |
hasRequiredParameters() |
boolean |
isFreeform() |
boolean |
isShowDefaultParamInPlaceholder() |
void |
renderForDisplay(org.apache.velocity.context.Context context)
This method should be called to render macro details before passing to the front end for display.
|
void |
setBody(MacroBody body) |
String |
toString() |
public static MacroFormDetails.MacroFormDetailsBuilder builder()
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–2019 Atlassian. All rights reserved.