public class SummaryContextProvider extends Object implements CacheableContextProvider
SimplePanel
columns via leftColumn and
rightColumn objects.Constructor and Description |
---|
SummaryContextProvider(com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager,
ContextProviderUtils contextProviderUtils,
ModuleWebComponent moduleWebComponent,
JiraAuthenticationContext authenticationContext,
ProjectDescriptionRenderer projectDescriptionRenderer,
EditWorkflowDiscoverHelper editWorkflowDiscoverHelper) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getContextMap(Map<String,Object> appProvidedContext)
Gets the context used when rendering the summary web panel.
|
String |
getUniqueContextKey(Map<String,Object> context)
Return a key that is unique for the scope that this context should be scoped.
|
void |
init(Map<String,String> params) |
public SummaryContextProvider(com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager, ContextProviderUtils contextProviderUtils, ModuleWebComponent moduleWebComponent, JiraAuthenticationContext authenticationContext, ProjectDescriptionRenderer projectDescriptionRenderer, EditWorkflowDiscoverHelper editWorkflowDiscoverHelper)
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> appProvidedContext)
Project
that has a subset of methods and renames description descriptionHtml to allow
anti-xss escaping
getContextMap
in interface com.atlassian.plugin.web.ContextProvider
appProvidedContext
- The application provided contextpublic String getUniqueContextKey(Map<String,Object> context)
CacheableContextProvider
getUniqueContextKey
in interface CacheableContextProvider
context
- the context passed into the getContextMap method.Copyright © 2002-2019 Atlassian. All Rights Reserved.