public class BambooWebFragmentHelper extends Object implements com.atlassian.plugin.web.WebFragmentHelper
Constructor and Description |
---|
BambooWebFragmentHelper(I18nBeanFactory i18nBeanFactory,
com.atlassian.plugin.hostcontainer.HostContainer hostContainer,
TemplateRenderer templateRenderer) |
Modifier and Type | Method and Description |
---|---|
String |
getI18nValue(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) |
public BambooWebFragmentHelper(I18nBeanFactory i18nBeanFactory, com.atlassian.plugin.hostcontainer.HostContainer hostContainer, TemplateRenderer templateRenderer)
public com.atlassian.plugin.web.Condition loadCondition(String className, com.atlassian.plugin.Plugin plugin) throws com.atlassian.plugin.web.conditions.ConditionLoadingException
loadCondition
in interface com.atlassian.plugin.web.WebFragmentHelper
com.atlassian.plugin.web.conditions.ConditionLoadingException
public com.atlassian.plugin.web.ContextProvider loadContextProvider(String className, com.atlassian.plugin.Plugin plugin) throws com.atlassian.plugin.web.conditions.ConditionLoadingException
loadContextProvider
in interface com.atlassian.plugin.web.WebFragmentHelper
com.atlassian.plugin.web.conditions.ConditionLoadingException
public String getI18nValue(@NotNull String key, List<?> arguments, Map<String,Object> context)
getI18nValue
in interface com.atlassian.plugin.web.WebFragmentHelper
public String renderVelocityFragment(String fragment, Map<String,Object> context)
renderVelocityFragment
in interface com.atlassian.plugin.web.WebFragmentHelper
public <T> T loadComponent(String className, com.atlassian.plugin.Plugin plugin) throws com.atlassian.plugin.web.conditions.ConditionLoadingException
com.atlassian.plugin.web.conditions.ConditionLoadingException
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.