public interface WebFragmentHelper
| Modifier and Type | Method and Description |
|---|---|
String |
getI18nValue(String key,
List<?> arguments,
Map<String,Object> context)
Look up a message key in the application
|
Condition |
loadCondition(String className,
com.atlassian.plugin.Plugin plugin)
Deprecated.
Since 2.7.0, will use HostContainer.create in future versions
|
ContextProvider |
loadContextProvider(String className,
com.atlassian.plugin.Plugin plugin)
Creates a context provider instance.
|
String |
renderVelocityFragment(String fragment,
Map<String,Object> context)
Renders the string fragment as a Velocity template
|
Condition loadCondition(String className, com.atlassian.plugin.Plugin plugin) throws ConditionLoadingException
className - the condition class nameplugin - the plugin from which the condition cameConditionLoadingException - If the condition was unable to be createdContextProvider loadContextProvider(String className, com.atlassian.plugin.Plugin plugin) throws ConditionLoadingException
className - the context provider class nameplugin - the plugin from which the context provider cameConditionLoadingException - If the context provider was unable to be created
* @deprecated Since 2.7.0, will use HostContainer.create in future versionsString getI18nValue(String key, List<?> arguments, Map<String,Object> context)
key - The message keyarguments - The arguments to use to replace tokens with any expressions already processedcontext - The context (optional)Copyright © 2018 Atlassian. All rights reserved.