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 StringgetI18nValue(@NotNull String key, List<?> arguments, Map<String,Object> context)<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)StringrenderVelocityFragment(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:
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
public String renderVelocityFragment(String fragment, Map<String,Object> context)
- 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
-
-