Class FieldBlockContextProviderWrapper
java.lang.Object
com.atlassian.greenhopper.web.contextprovider.issuedetailsview.FieldBlockContextProviderWrapper
- All Implemented Interfaces:
com.atlassian.plugin.web.ContextProvider
public class FieldBlockContextProviderWrapper
extends Object
implements com.atlassian.plugin.web.ContextProvider
Context provider which can be used to render the Details, People and Date field blocks of JIRA's view issue page.
The context provider will instruct the underlying context provider to render the fields in the order as they are configured in the details view.
The block requested should be supplied in the parameters of the context provider under the parameter 'category'
and be a supported enum name of
FieldDetailsCategory
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFieldBlockContextProviderWrapper
(ContextProviderFactory contextProviderFactory, com.atlassian.jira.security.JiraAuthenticationContext jiraAuthenticationContext, DetailViewFieldHelper detailViewFieldHelper, com.atlassian.jira.web.FieldVisibilityManager fieldVisibilityManager) -
Method Summary
-
Field Details
-
FIELD_DETAILS_CATEGORY
- See Also:
-
-
Constructor Details
-
FieldBlockContextProviderWrapper
public FieldBlockContextProviderWrapper(ContextProviderFactory contextProviderFactory, com.atlassian.jira.security.JiraAuthenticationContext jiraAuthenticationContext, DetailViewFieldHelper detailViewFieldHelper, com.atlassian.jira.web.FieldVisibilityManager fieldVisibilityManager)
-
-
Method Details
-
init
- Specified by:
init
in interfacecom.atlassian.plugin.web.ContextProvider
- Parameters:
params
- expects either 'DETAILS', 'PEOPLE', or 'DATES' under the parameter 'category' to select which block to provide context for.
-
getContextMap
- Specified by:
getContextMap
in interfacecom.atlassian.plugin.web.ContextProvider
-