Package com.atlassian.confluence.macro
Class LazyLoadingMacroWrapper
- java.lang.Object
-
- com.atlassian.confluence.macro.LazyLoadingMacroWrapper
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.atlassian.confluence.macro.Macro
Macro.BodyType, Macro.OutputType
-
-
Constructor Summary
Constructors Constructor Description LazyLoadingMacroWrapper(com.atlassian.util.concurrent.LazyReference<Macro> delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
execute(Map<String,String> parameters, String body, ConversionContext context)
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.Macro
getMacro()
Macro.OutputType
getOutputType()
-
-
-
Constructor Detail
-
LazyLoadingMacroWrapper
public LazyLoadingMacroWrapper(com.atlassian.util.concurrent.LazyReference<Macro> delegate)
-
-
Method Detail
-
execute
public String execute(Map<String,String> parameters, String body, ConversionContext context) throws MacroExecutionException
- Specified by:
execute
in interfaceMacro
- 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 interfaceMacro
- Returns:
- The type of body this macro has.
-
getOutputType
public Macro.OutputType getOutputType()
- Specified by:
getOutputType
in interfaceMacro
-
getMacro
public Macro getMacro()
-
-