Class DefaultViewMacroWrapper

    • Method Detail

      • init

        @PostConstruct
        public void init()
      • destroy

        @PreDestroy
        public void destroy()
      • onPluginModuleEnabled

        public void onPluginModuleEnabled​(com.atlassian.plugin.event.events.PluginModuleEnabledEvent ignored)
      • onPluginModuleDisable

        public void onPluginModuleDisable​(com.atlassian.plugin.event.events.PluginModuleDisabledEvent ignored)
      • wrap

        public String wrap​(ConversionContext context,
                           Macro.OutputType outputType,
                           String macroBody,
                           MacroDefinition macroDefinition,
                           boolean wrap)
        Description copied from interface: ViewMacroWrapper
        Execute macro wrapping. Example: Status and

        Info macro

        Specified by:
        wrap in interface ViewMacroWrapper
        Parameters:
        context - the conversion context
        outputType - output type
        macroBody - rendered macro body
        macroDefinition - definition of macro
        wrap - flag which specifies if macro body has to be wrapped
        Returns:
        macro has wrapped otherwise the original