public class PermissionsSummaryPanelContextProvider extends Object implements CacheableContextProvider
| Modifier and Type | Class and Description |
|---|---|
static class |
PermissionsSummaryPanelContextProvider.SimpleIssueSecurityScheme |
static class |
PermissionsSummaryPanelContextProvider.SimpleProjectPermissionsScheme |
| Constructor and Description |
|---|
PermissionsSummaryPanelContextProvider(PermissionSchemeManager permissionSchemeManager,
IssueSecuritySchemeManager issueSecuritySchemeManager,
ContextProviderUtils providerUtils,
TabUrlFactory tabUrlFactory) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getContextMap(Map<String,Object> context) |
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> context) |
public PermissionsSummaryPanelContextProvider(PermissionSchemeManager permissionSchemeManager, IssueSecuritySchemeManager issueSecuritySchemeManager, ContextProviderUtils providerUtils, TabUrlFactory tabUrlFactory)
public void init(Map<String,String> context) throws com.atlassian.plugin.PluginParseException
init in interface com.atlassian.plugin.web.ContextProvidercom.atlassian.plugin.PluginParseExceptionpublic Map<String,Object> getContextMap(Map<String,Object> context)
getContextMap in interface com.atlassian.plugin.web.ContextProviderpublic String getUniqueContextKey(Map<String,Object> context)
CacheableContextProvidergetUniqueContextKey in interface CacheableContextProvidercontext - the context passed into the getContextMap method.Copyright © 2002-2017 Atlassian. All Rights Reserved.