public class

FieldsSummaryPanelContextProvider

extends Object
implements CacheableContextProvider
java.lang.Object
   ↳ com.atlassian.jira.projectconfig.contextproviders.FieldsSummaryPanelContextProvider

Class Overview

Provides context for the field configs summary panel, in particular the field config scheme and field configs (fieldLayouts), etc.

Summary

Nested Classes
class FieldsSummaryPanelContextProvider.SimpleFieldConfig  
Public Constructors
FieldsSummaryPanelContextProvider(FieldLayoutManager fieldLayoutManager, ContextProviderUtils contextProviderUtils, TabUrlFactory tabUrlFactory, ComparatorFactory comparatorFactory)
Public Methods
Map<StringObject> getContextMap(Map<StringObject> context)
String getUniqueContextKey(Map<StringObject> context)
Return a key that is unique for the scope that this context should be scoped.
void init(Map<StringString> params)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.plugin.webfragment.CacheableContextProvider
From interface com.atlassian.plugin.web.ContextProvider

Public Constructors

public FieldsSummaryPanelContextProvider (FieldLayoutManager fieldLayoutManager, ContextProviderUtils contextProviderUtils, TabUrlFactory tabUrlFactory, ComparatorFactory comparatorFactory)

Public Methods

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

public String getUniqueContextKey (Map<StringObject> context)

Return a key that is unique for the scope that this context should be scoped. E.g. If the context is unique per issue, per user return "JRA-11234:nmenere"

Parameters
context the context passed into the getContextMap method.
Returns
  • a key that is unique for the scope that this context

public void init (Map<StringString> params)