public class MultiContextProvider extends Object implements com.atlassian.plugin.web.ContextProvider
ContextProviders 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.ContextProvidercom.atlassian.plugin.PluginParseExceptionpublic Map<String,Object> getContextMap(Map<String,Object> context)
getContextMap in interface com.atlassian.plugin.web.ContextProviderpublic List<com.atlassian.plugin.web.ContextProvider> getCtxProviders()
Copyright © 2002-2021 Atlassian. All Rights Reserved.