Class MacroUtils


  • public final class MacroUtils
    extends Object
    • 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)
      • 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)