Class UnmigratedBlockWikiMarkupMacro
- java.lang.Object
-
- com.atlassian.confluence.macro.wiki.UnmigratedBlockWikiMarkupMacro
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.atlassian.confluence.macro.Macro
Macro.BodyType, Macro.OutputType
-
-
Field Summary
Fields Modifier and Type Field Description static StringMACRO_NAME
-
Constructor Summary
Constructors Constructor Description UnmigratedBlockWikiMarkupMacro()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringexecute(Map<String,String> parameters, String body, ConversionContext context)Macro.BodyTypegetBodyType()The type of body that this macro has, this is used to infer the migration task if no custom one is provided.Macro.OutputTypegetOutputType()voidsetWikiStyleRenderer(com.atlassian.renderer.WikiStyleRenderer wikiStyleRenderer)
-
-
-
Field Detail
-
MACRO_NAME
public static final String MACRO_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
setWikiStyleRenderer
public void setWikiStyleRenderer(com.atlassian.renderer.WikiStyleRenderer wikiStyleRenderer)
-
execute
public String execute(Map<String,String> parameters, String body, ConversionContext context) throws MacroExecutionException
- Specified by:
executein interfaceMacro- Throws:
MacroExecutionException
-
getBodyType
public Macro.BodyType getBodyType()
Description copied from interface:MacroThe type of body that this macro has, this is used to infer the migration task if no custom one is provided.- Specified by:
getBodyTypein interfaceMacro- Returns:
- The type of body this macro has.
-
getOutputType
public Macro.OutputType getOutputType()
- Specified by:
getOutputTypein interfaceMacro
-
-