Macro.BodyType, Macro.OutputType| Modifier and Type | Field and Description | 
|---|---|
| static String | CUSTOM_CONTEXT | 
| static String | OUTPUT | 
| static String | PLUGIN_KEY | 
| static String | RESOURCE1 | 
| static String | RESOURCE2 | 
| Constructor and Description | 
|---|
| CustomWebResourceAddingMacro() | 
| Modifier and Type | Method and 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.OutputType | getOutputType() | 
| void | setPageBuilderService(com.atlassian.webresource.api.assembler.PageBuilderService pageBuilderService) | 
public static final String OUTPUT
public static final String PLUGIN_KEY
public static final String CUSTOM_CONTEXT
public static final String RESOURCE1
public static final String RESOURCE2
public void setPageBuilderService(com.atlassian.webresource.api.assembler.PageBuilderService pageBuilderService)
public String execute(Map<String,String> parameters, String body, ConversionContext context) throws MacroExecutionException
execute in interface MacroMacroExecutionExceptionpublic Macro.BodyType getBodyType()
MacrogetBodyType in interface Macropublic Macro.OutputType getOutputType()
getOutputType in interface MacroCopyright © 2003–2017 Atlassian. All rights reserved.