com.atlassian.confluence.macro
Interface Macro
- All Known Implementing Classes:
- ExpandMacro, GenericVelocityMacro, LazyLoadingMacroWrapper, LoremIpsumMacro, UnmigratedBlockWikiMarkupMacro, UnmigratedInlineWikiMarkupMacro, V2CompatibilityMacro
public interface Macro
Represents a Confluence macro.
- Since:
- 4.0
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()
Copyright © 2003-2012 Atlassian. All Rights Reserved.