com.atlassian.confluence.macro.wiki
Class UnmigratedBlockWikiMarkupMacro
java.lang.Object
com.atlassian.confluence.macro.wiki.UnmigratedBlockWikiMarkupMacro
- All Implemented Interfaces:
- Macro
public class UnmigratedBlockWikiMarkupMacro
- extends java.lang.Object
- implements 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.
- Since:
- 4.0.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MACRO_NAME
public static final java.lang.String MACRO_NAME
- See Also:
- Constant Field Values
UnmigratedBlockWikiMarkupMacro
public UnmigratedBlockWikiMarkupMacro()
setWikiStyleRenderer
public void setWikiStyleRenderer(com.atlassian.renderer.WikiStyleRenderer wikiStyleRenderer)
execute
public java.lang.String execute(java.util.Map<java.lang.String,java.lang.String> parameters,
java.lang.String body,
ConversionContext context)
throws MacroExecutionException
- Specified by:
execute
in interface Macro
- Throws:
MacroExecutionException
getBodyType
public Macro.BodyType 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 interface Macro
- Returns:
- The type of body this macro has.
getOutputType
public Macro.OutputType getOutputType()
- Specified by:
getOutputType
in interface Macro
Copyright © 2003-2013 Atlassian. All Rights Reserved.