Class DateBlockContextProvider
java.lang.Object
com.atlassian.jira.plugin.viewissue.DateBlockContextProvider
- All Implemented Interfaces:
CacheableContextProvider
,com.atlassian.plugin.web.ContextProvider
Context Provider for Date Block on View Issue page.
- Since:
- v4.4
-
Constructor Summary
ConstructorsConstructorDescriptionDateBlockContextProvider
(FieldVisibilityManager fieldVisibilityManager, JiraAuthenticationContext authenticationContext, FieldScreenRendererFactory fieldScreenRendererFactory, FieldManager fieldManager, DateFieldModelFactory dateFieldModelFactory, FieldModelFactory fieldModelFactory) -
Method Summary
-
Constructor Details
-
DateBlockContextProvider
public DateBlockContextProvider(FieldVisibilityManager fieldVisibilityManager, JiraAuthenticationContext authenticationContext, FieldScreenRendererFactory fieldScreenRendererFactory, FieldManager fieldManager, DateFieldModelFactory dateFieldModelFactory, FieldModelFactory fieldModelFactory)
-
-
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
-