Class VersionsSummaryPanelContextProvider
java.lang.Object
com.atlassian.jira.projectconfig.contextproviders.VersionsSummaryPanelContextProvider
- All Implemented Interfaces:
CacheableContextProvider,com.atlassian.plugin.web.ContextProvider
Provides the context to velocity needed to display the versions summary panel on the view project page.
- Since:
- v4.4
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionVersionsSummaryPanelContextProvider(ContextProviderUtils utils, VersionService service, JiraAuthenticationContext authContext, TabUrlFactory tabUrlFactory, DateFieldFormat dateFormat) -
Method Summary
-
Constructor Details
-
VersionsSummaryPanelContextProvider
public VersionsSummaryPanelContextProvider(ContextProviderUtils utils, VersionService service, JiraAuthenticationContext authContext, TabUrlFactory tabUrlFactory, DateFieldFormat dateFormat)
-
-
Method Details
-
init
- Specified by:
initin interfacecom.atlassian.plugin.web.ContextProvider- Throws:
com.atlassian.plugin.PluginParseException
-
getContextMap
- Specified by:
getContextMapin interfacecom.atlassian.plugin.web.ContextProvider
-
getUniqueContextKey
Description copied from interface:CacheableContextProviderReturn 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:
getUniqueContextKeyin interfaceCacheableContextProvider- Parameters:
context- the context passed into the getContextMap method.- Returns:
- a key that is unique for the scope that this context
-