Package com.atlassian.bamboo.plugin.web
Class BambooWebFragmentHelper
java.lang.Object
com.atlassian.bamboo.plugin.web.BambooWebFragmentHelper
- All Implemented Interfaces:
com.atlassian.plugin.web.WebFragmentHelper
public class BambooWebFragmentHelper
extends Object
implements com.atlassian.plugin.web.WebFragmentHelper
-
Constructor Summary
ConstructorsConstructorDescriptionBambooWebFragmentHelper(I18nBeanFactory i18nBeanFactory, com.atlassian.plugin.hostcontainer.HostContainer hostContainer, TemplateRenderer templateRenderer) -
Method Summary
Modifier and TypeMethodDescription<T> TloadComponent(String className, com.atlassian.plugin.Plugin plugin) com.atlassian.plugin.web.ConditionloadCondition(String className, com.atlassian.plugin.Plugin plugin) com.atlassian.plugin.web.ContextProviderloadContextProvider(String className, com.atlassian.plugin.Plugin plugin) renderVelocityFragment(String fragment, Map<String, Object> context)
-
Constructor Details
-
BambooWebFragmentHelper
public BambooWebFragmentHelper(I18nBeanFactory i18nBeanFactory, com.atlassian.plugin.hostcontainer.HostContainer hostContainer, TemplateRenderer templateRenderer)
-
-
Method Details
-
loadCondition
public com.atlassian.plugin.web.Condition loadCondition(String className, com.atlassian.plugin.Plugin plugin) throws com.atlassian.plugin.web.conditions.ConditionLoadingException - Specified by:
loadConditionin interfacecom.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:
loadContextProviderin interfacecom.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:
getI18nValuein interfacecom.atlassian.plugin.web.WebFragmentHelper
-
renderVelocityFragment
- Specified by:
renderVelocityFragmentin interfacecom.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
-