Package com.atlassian.confluence.macro
Interface Macro
- 
- All Known Subinterfaces:
 StreamableMacro
- All Known Implementing Classes:
 GenericVelocityMacro,LazyLoadingMacroWrapper,LoremIpsumMacro,StreamableMacroAdapter,UnmigratedBlockWikiMarkupMacro,UnmigratedInlineWikiMarkupMacro,V2CompatibilityMacro
public interface MacroRepresents a Confluence macro.- Since:
 - 4.0
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classMacro.BodyTypestatic classMacro.OutputType 
- 
Method Summary
All Methods Instance Methods Abstract 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() 
 - 
 
- 
- 
Method Detail
- 
execute
String execute(Map<String,String> parameters, String body, ConversionContext context) throws MacroExecutionException
- Throws:
 MacroExecutionException
 
- 
getBodyType
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.- Returns:
 - The type of body this macro has.
 
 
- 
getOutputType
Macro.OutputType getOutputType()
 
 - 
 
 -