Class QuickSearchContextProvider

java.lang.Object
com.atlassian.jira.plugin.contentlinks.contextproviders.QuickSearchContextProvider
All Implemented Interfaces:
com.atlassian.plugin.web.ContextProvider

public class QuickSearchContextProvider extends Object implements com.atlassian.plugin.web.ContextProvider
Context Provider that provides the base url of the application and information if QuickSearch feature flag is enabled. Referenced by "{$baseurl}" and "{$quickSearchEnabled}"
Since:
v7.7
  • Constructor Details

  • Method Details

    • init

      public void init(Map<String,String> params) throws com.atlassian.plugin.PluginParseException
      Specified by:
      init in interface com.atlassian.plugin.web.ContextProvider
      Throws:
      com.atlassian.plugin.PluginParseException
    • getContextMap

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