Class MacroUtils
- java.lang.Object
-
- com.atlassian.confluence.renderer.radeox.macros.MacroUtils
-
public final class MacroUtils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.velocity.context.ContextcreateDefaultVelocityContext()static Map<String,Object>defaultVelocityContext()Creates a default velocity context populated with the classes macro Velocity templates need.static Map<String,Object>defaultVelocityContext(@Nullable Space space)static com.opensymphony.xwork2.ActiongetConfluenceActionSupport()static ContentEntityObjectgetContentEntityObject(org.radeox.macro.parameter.MacroParameter macroParameter)static Map<String,Object>requiredVelocityContext(List<String> requiredKeys)
-
-
-
Method Detail
-
defaultVelocityContext
public static Map<String,Object> defaultVelocityContext()
Creates a default velocity context populated with the classes macro Velocity templates need.
-
defaultVelocityContext
public static Map<String,Object> defaultVelocityContext(@Nullable Space space)
-
requiredVelocityContext
public static Map<String,Object> requiredVelocityContext(List<String> requiredKeys)
-
createDefaultVelocityContext
public static org.apache.velocity.context.Context createDefaultVelocityContext()
-
getConfluenceActionSupport
public static com.opensymphony.xwork2.Action getConfluenceActionSupport()
-
getContentEntityObject
public static ContentEntityObject getContentEntityObject(org.radeox.macro.parameter.MacroParameter macroParameter)
-
-