Class BambooWebFragmentHelper

  • All Implemented Interfaces:
    com.atlassian.plugin.web.WebFragmentHelper

    public class BambooWebFragmentHelper
    extends Object
    implements com.atlassian.plugin.web.WebFragmentHelper
    • Constructor Detail

      • BambooWebFragmentHelper

        public BambooWebFragmentHelper​(I18nBeanFactory i18nBeanFactory,
                                       com.atlassian.plugin.hostcontainer.HostContainer hostContainer,
                                       TemplateRenderer templateRenderer)
    • Method Detail

      • loadCondition

        public com.atlassian.plugin.web.Condition loadCondition​(String className,
                                                                com.atlassian.plugin.Plugin plugin)
                                                         throws com.atlassian.plugin.web.conditions.ConditionLoadingException
        Specified by:
        loadCondition in interface com.atlassian.plugin.web.WebFragmentHelper
        Throws:
        com.atlassian.plugin.web.conditions.ConditionLoadingException
      • loadContextProvider

        public com.atlassian.plugin.web.ContextProvider loadContextProvider​(String className,
                                                                            com.atlassian.plugin.Plugin plugin)
                                                                     throws com.atlassian.plugin.web.conditions.ConditionLoadingException
        Specified by:
        loadContextProvider in interface com.atlassian.plugin.web.WebFragmentHelper
        Throws:
        com.atlassian.plugin.web.conditions.ConditionLoadingException
      • getI18nValue

        public String getI18nValue​(@NotNull
                                   @NotNull String key,
                                   List<?> arguments,
                                   Map<String,​Object> context)
        Specified by:
        getI18nValue in interface com.atlassian.plugin.web.WebFragmentHelper
      • renderVelocityFragment

        public String renderVelocityFragment​(String fragment,
                                             Map<String,​Object> context)
        Specified by:
        renderVelocityFragment in interface com.atlassian.plugin.web.WebFragmentHelper
      • loadComponent

        public <T> T loadComponent​(String className,
                                   com.atlassian.plugin.Plugin plugin)
                            throws com.atlassian.plugin.web.conditions.ConditionLoadingException
        Throws:
        com.atlassian.plugin.web.conditions.ConditionLoadingException