Class ActivityBlockViewIssueContextProvider
java.lang.Object
com.atlassian.jira.plugin.viewissue.ActivityBlockViewIssueContextProvider
- All Implemented Interfaces:
CacheableContextProvider
,com.atlassian.plugin.web.ContextProvider
public class ActivityBlockViewIssueContextProvider
extends Object
implements CacheableContextProvider
Context Provider for the Activity block section on View Issue page.
Expensive one so it cached per request/per user/per issue
- Since:
- v4.4
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionActivityBlockViewIssueContextProvider
(com.atlassian.plugin.PluginAccessor pluginAccessor, JiraAuthenticationContext authenticationContext, VelocityRequestContextFactory requestContextFactory, ApplicationProperties applicationProperties, IssueTabPanelInvoker issueTabPanelInvoker, com.atlassian.event.api.EventPublisher eventPublisher, SoyTemplateRendererProvider soyTemplateRendererProvider, ActionExpanderProvider actionExpanderProvider, FieldManager fieldManager, FeatureManager featureManager, CommentOrderManager commentOrderManager) -
Method Summary
-
Field Details
-
log
protected final org.apache.log4j.Logger log -
DATE_TIME_FORMAT
- See Also:
-
-
Constructor Details
-
ActivityBlockViewIssueContextProvider
public ActivityBlockViewIssueContextProvider(com.atlassian.plugin.PluginAccessor pluginAccessor, JiraAuthenticationContext authenticationContext, VelocityRequestContextFactory requestContextFactory, ApplicationProperties applicationProperties, IssueTabPanelInvoker issueTabPanelInvoker, com.atlassian.event.api.EventPublisher eventPublisher, SoyTemplateRendererProvider soyTemplateRendererProvider, ActionExpanderProvider actionExpanderProvider, FieldManager fieldManager, FeatureManager featureManager, CommentOrderManager commentOrderManager)
-
-
Method Details
-
init
- Specified by:
init
in interfacecom.atlassian.plugin.web.ContextProvider
- Throws:
com.atlassian.plugin.PluginParseException
-
getContextMap
- Specified by:
getContextMap
in interfacecom.atlassian.plugin.web.ContextProvider
-
getUniqueContextKey
Description copied from interface:CacheableContextProvider
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"- Specified by:
getUniqueContextKey
in interfaceCacheableContextProvider
- Parameters:
context
- the context passed into the getContextMap method.- Returns:
- a key that is unique for the scope that this context
-