com.atlassian.confluence.plugins.expand
Class ExpandMacro

java.lang.Object
  extended by com.atlassian.confluence.plugins.expand.ExpandMacro
All Implemented Interfaces:
Macro

public class ExpandMacro
extends java.lang.Object
implements Macro


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.confluence.macro.Macro
Macro.BodyType, Macro.OutputType
 
Constructor Summary
ExpandMacro(com.atlassian.sal.api.message.I18nResolver i18nResolver, VelocityHelperService velocityHelperService)
           
 
Method Summary
 java.lang.String execute(java.util.Map<java.lang.String,java.lang.String> parameters, java.lang.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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpandMacro

public ExpandMacro(com.atlassian.sal.api.message.I18nResolver i18nResolver,
                   VelocityHelperService velocityHelperService)
Method Detail

execute

public java.lang.String execute(java.util.Map<java.lang.String,java.lang.String> parameters,
                                java.lang.String body,
                                ConversionContext context)
                         throws MacroExecutionException
Specified by:
execute in interface Macro
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 interface Macro
Returns:
The type of body this macro has.

getOutputType

public Macro.OutputType getOutputType()
Specified by:
getOutputType in interface Macro


Copyright © 2003-2014 Atlassian. All Rights Reserved.