public class

MockMacro

extends Object
implements Macro
java.lang.Object
   ↳ com.atlassian.confluence.content.render.xhtml.editor.macro.MockMacro

Summary

Public Constructors
MockMacro(Macro.BodyType bodyType, Macro.OutputType outputType)
Public Methods
String execute(Map<StringString> 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.OutputType getOutputType()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.confluence.macro.Macro

Public Constructors

public MockMacro (Macro.BodyType bodyType, Macro.OutputType outputType)

Public Methods

public String execute (Map<StringString> parameters, String body, ConversionContext context)

public 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.

public Macro.OutputType getOutputType ()