com.atlassian.jira.plugin.webfragment
Interface CacheableContextProvider
- All Superinterfaces:
- com.atlassian.plugin.web.ContextProvider
- All Known Implementing Classes:
- ActivityBlockViewIssueContextProvider, AddCommentViewIssueContextProvider, AdminContextProvider, AttachmentBlockContextProvider, ComponentsContextProvider, ComponentsSummaryPanelContextProvider, DateBlockContextProvider, FieldsSummaryPanelContextProvider, IssueTypesSummaryPanelContextProvider, LinkBlockContextProvider, NotificationsSummaryPanelContextProvider, PeopleBlockContextProvider, PeopleSummaryPanelContextProvider, PermissionsSummaryPanelContextProvider, ProjectFieldsContextProvider, ProjectIssueSecurityContextProvider, ProjectIssueTypeContextProvider, ProjectNotificationContextProvider, ProjectPeopleContextProvider, ProjectPermissionContextProvider, ProjectScreensContextProvider, ScreensSummaryPanelContextProvider, SettingsSummaryPanelContextProvider, SubTasksContxtProvider, SubTasksProgressContextProvider, SummaryContextProvider, TimeTrackingViewIssueContextProvider, VersionsSummaryPanelContextProvider, WorkflowContextProvider, WorkflowSummaryPanelContextProvider
@PublicSpi
public interface CacheableContextProvider
- extends com.atlassian.plugin.web.ContextProvider
Implementing ContextProvider
s will be wrapped with CacheableContextProviderDecorator
on creation
in JiraWebFragmentHelper
, and have ContextProvider.getContextMap(java.util.Map)
invocation results cached
in the request.
- Since:
- v4.4
Methods inherited from interface com.atlassian.plugin.web.ContextProvider |
getContextMap, init |
getUniqueContextKey
String getUniqueContextKey(Map<String,Object> context)
- 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"
- Parameters:
context
- the context passed into the getContextMap method.
- Returns:
- a key that is unique for the scope that this context
Copyright © 2002-2012 Atlassian. All Rights Reserved.