Class SettingsSummaryPanelContextProvider

java.lang.Object
com.atlassian.jira.projectconfig.contextproviders.SettingsSummaryPanelContextProvider
All Implemented Interfaces:
CacheableContextProvider, com.atlassian.plugin.web.ContextProvider

public class SettingsSummaryPanelContextProvider extends Object implements CacheableContextProvider
Provides velocity context for the "settings" summary panel. This is basically the shit panel that holds everything that does not fit elsewhere.
Since:
v4.4
  • Constructor Details

    • SettingsSummaryPanelContextProvider

      public SettingsSummaryPanelContextProvider(ProjectOperationManager projectOperationManager, ContextProviderUtils utils, JiraAuthenticationContext context, com.atlassian.applinks.api.ApplicationLinkService applicationLinkService, com.atlassian.applinks.host.spi.InternalHostApplication hostApplication)
  • Method Details

    • init

      public void init(Map<String,String> configParams) throws com.atlassian.plugin.PluginParseException
      Specified by:
      init in interface com.atlassian.plugin.web.ContextProvider
      Throws:
      com.atlassian.plugin.PluginParseException
    • getContextMap

      public Map<String,Object> getContextMap(Map<String,Object> passedContext)
      Specified by:
      getContextMap in interface com.atlassian.plugin.web.ContextProvider
    • getUniqueContextKey

      public String getUniqueContextKey(Map<String,Object> context)
      Description copied from interface: CacheableContextProvider
      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"
      Specified by:
      getUniqueContextKey in interface CacheableContextProvider
      Parameters:
      context - the context passed into the getContextMap method.
      Returns:
      a key that is unique for the scope that this context