Class RolesSummaryPanelContextProvider
java.lang.Object
com.atlassian.jira.projectconfig.contextproviders.RolesSummaryPanelContextProvider
- All Implemented Interfaces:
CacheableContextProvider,com.atlassian.plugin.web.ContextProvider
Provides context for the roles summary panel (formerly known as the people summary panel), in particular the project
lead username, default assignee and other booleans indicating if the project lead user exists, etc.
- Since:
- v4.4
-
Constructor Summary
ConstructorsConstructorDescriptionRolesSummaryPanelContextProvider(PermissionManager permissionManager, UserFormatManager userFormatManager, UserManager userManager, AvatarService avatarService) -
Method Summary
-
Constructor Details
-
RolesSummaryPanelContextProvider
public RolesSummaryPanelContextProvider(PermissionManager permissionManager, UserFormatManager userFormatManager, UserManager userManager, AvatarService avatarService)
-
-
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
-