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
Constructors Constructor Description BambooWebFragmentHelper(I18nBeanFactory i18nBeanFactory, com.atlassian.plugin.hostcontainer.HostContainer hostContainer, TemplateRenderer templateRenderer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getI18nValue(@NotNull String key, List<?> arguments, Map<String,Object> context)
<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)
String
renderVelocityFragment(String fragment, Map<String,Object> context)
-
-
-
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 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
public String renderVelocityFragment(String fragment, Map<String,Object> context)
- 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
-
-