public class MultiContextProvider extends Object implements com.atlassian.plugin.web.ContextProvider
ContextProvider
s to provide context to a WebPanel
or WebLabel
or simalar web fragment.
Usage: Component plugin providers are loaded within the context of the plugin having the key supplied in the "pluginKey" parameter.
Constructor and Description |
---|
MultiContextProvider(com.atlassian.plugin.PluginAccessor pluginAccessor,
com.atlassian.plugin.web.WebFragmentHelper webFragmentHelper) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getContextMap(Map<String,Object> context) |
List<com.atlassian.plugin.web.ContextProvider> |
getCtxProviders() |
void |
init(Map<String,String> params) |
public MultiContextProvider(com.atlassian.plugin.PluginAccessor pluginAccessor, com.atlassian.plugin.web.WebFragmentHelper webFragmentHelper)
public void init(Map<String,String> params) throws com.atlassian.plugin.PluginParseException
init
in interface com.atlassian.plugin.web.ContextProvider
com.atlassian.plugin.PluginParseException
public Map<String,Object> getContextMap(Map<String,Object> context)
getContextMap
in interface com.atlassian.plugin.web.ContextProvider
public List<com.atlassian.plugin.web.ContextProvider> getCtxProviders()
Copyright © 2002-2017 Atlassian. All Rights Reserved.