Class UnmigratedBlockWikiMarkupMacro
java.lang.Object
com.atlassian.confluence.macro.wiki.UnmigratedBlockWikiMarkupMacro
- All Implemented Interfaces:
Macro
This macro will render it's body using the V2 Renderer.
This is here to provide migration and editing support for pre-4.0 macros.
This is here to provide migration and editing support for pre-4.0 macros.
- Since:
- 4.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.confluence.macro.Macro
Macro.BodyType, Macro.OutputType
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe type of body that this macro has, this is used to infer the migration task if no custom one is provided.void
setWikiStyleRenderer
(com.atlassian.renderer.WikiStyleRenderer wikiStyleRenderer)
-
Field Details
-
MACRO_NAME
- See Also:
-
-
Constructor Details
-
UnmigratedBlockWikiMarkupMacro
public UnmigratedBlockWikiMarkupMacro()
-
-
Method Details
-
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:
execute
in interfaceMacro
- Throws:
MacroExecutionException
-
getBodyType
Description copied from interface:Macro
The type of body that this macro has, this is used to infer the migration task if no custom one is provided.- Specified by:
getBodyType
in interfaceMacro
- Returns:
- The type of body this macro has.
-
getOutputType
- Specified by:
getOutputType
in interfaceMacro
-