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 Details

  • Constructor Details

    • FieldBlockContextProviderWrapper

      public FieldBlockContextProviderWrapper(ContextProviderFactory contextProviderFactory, com.atlassian.jira.security.JiraAuthenticationContext jiraAuthenticationContext, DetailViewFieldHelper detailViewFieldHelper, com.atlassian.jira.web.FieldVisibilityManager fieldVisibilityManager)
  • Method Details

    • init

      public void init(Map<String,String> params)
      Specified by:
      init in interface com.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

      public Map<String,Object> getContextMap(Map<String,Object> context)
      Specified by:
      getContextMap in interface com.atlassian.plugin.web.ContextProvider