public class NotificationsSummaryPanelContextProvider extends Object implements CacheableContextProvider
Modifier and Type | Class and Description |
---|---|
static class |
NotificationsSummaryPanelContextProvider.SimpleNotificationScheme |
Constructor and Description |
---|
NotificationsSummaryPanelContextProvider(NotificationSchemeManager notificationSchemeManager,
ContextProviderUtils providerUtils,
com.atlassian.mail.server.MailServerManager mailServerManager,
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> stringStringMap) |
public NotificationsSummaryPanelContextProvider(NotificationSchemeManager notificationSchemeManager, ContextProviderUtils providerUtils, com.atlassian.mail.server.MailServerManager mailServerManager, TabUrlFactory tabUrlFactory)
public void init(Map<String,String> stringStringMap) throws com.atlassian.plugin.PluginParseException
init
in interface com.atlassian.plugin.web.ContextProvider
com.atlassian.plugin.PluginParseException
public Map<String,Object> getContextMap(Map<String,Object> context)
getContextMap
in interface com.atlassian.plugin.web.ContextProvider
public String getUniqueContextKey(Map<String,Object> context)
CacheableContextProvider
getUniqueContextKey
in interface CacheableContextProvider
context
- the context passed into the getContextMap method.Copyright © 2002-2017 Atlassian. All Rights Reserved.