Class LinkBlockContextProvider
java.lang.Object
com.atlassian.jira.plugin.viewissue.LinkBlockContextProvider
- All Implemented Interfaces:
CacheableContextProvider,com.atlassian.plugin.web.ContextProvider
Context Provider for the Link block on the view issue page.
- Since:
- v4.4
-
Constructor Summary
ConstructorsConstructorDescriptionLinkBlockContextProvider(IssueLinkManager issueLinkManager, JiraAuthenticationContext authenticationContext, FieldVisibilityManager fieldVisibilityManager, PermissionManager permissionManager, VelocityRequestContextFactory velocityRequestContextFactory, RemoteIssueLinkManager remoteIssueLinkManager, com.atlassian.plugin.PluginAccessor pluginAccessor) -
Method Summary
-
Constructor Details
-
LinkBlockContextProvider
public LinkBlockContextProvider(IssueLinkManager issueLinkManager, JiraAuthenticationContext authenticationContext, FieldVisibilityManager fieldVisibilityManager, PermissionManager permissionManager, VelocityRequestContextFactory velocityRequestContextFactory, RemoteIssueLinkManager remoteIssueLinkManager, com.atlassian.plugin.PluginAccessor pluginAccessor)
-
-
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
-