public class

MultiContextProvider

extends Object
implements ContextProvider
java.lang.Object
   ↳ com.atlassian.jira.plugin.webfragment.contextproviders.MultiContextProvider

Class Overview

This is a wrapper to enable you use multiple ContextProviders to provide context to a com.atlassian.plugin.web.model.WebPanel or com.atlassian.plugin.web.model.WebLabel or simalar web fragment. Usage: com.yourorg.jira.myplugin com.yourorg.jira.web.contextproviders.yourfirstcontextprovider A value for the 1st ContextProvider com.yourorg.jira.web.contextproviders.yourfirstcontextprovider A value for the 2nd ContextProvider

Component plugin providers are loaded within the context of the plugin having the key supplied in the "pluginKey" parameter.

Summary

Public Constructors
MultiContextProvider(PluginAccessor pluginAccessor, WebFragmentHelper webFragmentHelper)
Public Methods
Map<StringObject> getContextMap(Map<StringObject> context)
List<ContextProvider> getCtxProviders()
void init(Map<StringString> params)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.plugin.web.ContextProvider

Public Constructors

public MultiContextProvider (PluginAccessor pluginAccessor, WebFragmentHelper webFragmentHelper)

Public Methods

public Map<StringObject> getContextMap (Map<StringObject> context)

public List<ContextProvider> getCtxProviders ()

public void init (Map<StringString> params)