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
ConstructorDescriptionBambooWebFragmentHelper
(I18nBeanFactory i18nBeanFactory, com.atlassian.plugin.hostcontainer.HostContainer hostContainer, TemplateRenderer templateRenderer) -
Method Summary
Modifier and TypeMethodDescription<T> T
loadComponent
(String className, com.atlassian.plugin.Plugin plugin) com.atlassian.plugin.web.Condition
loadCondition
(String className, com.atlassian.plugin.Plugin plugin) com.atlassian.plugin.web.ContextProvider
loadContextProvider
(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:
loadCondition
in 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:
loadContextProvider
in 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:
getI18nValue
in interfacecom.atlassian.plugin.web.WebFragmentHelper
-
renderVelocityFragment
- Specified by:
renderVelocityFragment
in 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
-