public class SpaceJumpMacro extends com.atlassian.renderer.v2.macro.BaseMacro implements Macro
Example:
{spacejump:SPACEKEY|alias=LINK_TITLE}
Macro.BodyType, Macro.OutputType
Constructor and Description |
---|
SpaceJumpMacro(XhtmlContent xhtmlContent) |
Modifier and Type | Method and Description |
---|---|
String |
execute(Map<String,String> parameters,
String body,
ConversionContext conversionContext) |
String |
execute(Map parameters,
String string,
com.atlassian.renderer.RenderContext renderContext) |
com.atlassian.renderer.v2.RenderMode |
getBodyRenderMode() |
Macro.BodyType |
getBodyType()
The type of body that this macro has, this is used to infer the migration task if no custom one is provided.
|
Macro.OutputType |
getOutputType() |
com.atlassian.renderer.TokenType |
getTokenType(Map parameters,
String body,
com.atlassian.renderer.RenderContext context) |
boolean |
hasBody() |
public SpaceJumpMacro(XhtmlContent xhtmlContent)
public com.atlassian.renderer.TokenType getTokenType(Map parameters, String body, com.atlassian.renderer.RenderContext context)
getTokenType
in interface com.atlassian.renderer.v2.macro.Macro
getTokenType
in class com.atlassian.renderer.v2.macro.BaseMacro
public boolean hasBody()
hasBody
in interface com.atlassian.renderer.v2.macro.Macro
public com.atlassian.renderer.v2.RenderMode getBodyRenderMode()
getBodyRenderMode
in interface com.atlassian.renderer.v2.macro.Macro
public String execute(Map parameters, String string, com.atlassian.renderer.RenderContext renderContext) throws com.atlassian.renderer.v2.macro.MacroException
execute
in interface com.atlassian.renderer.v2.macro.Macro
com.atlassian.renderer.v2.macro.MacroException
public Macro.BodyType getBodyType()
Macro
public Macro.OutputType getOutputType()
public String execute(Map<String,String> parameters, String body, ConversionContext conversionContext) throws MacroExecutionException
MacroExecutionException
Copyright © 2003–2020 Atlassian. All rights reserved.