com.atlassian.jira.plugin.headernav
Class AppSwitcherContextProvider

java.lang.Object
  extended by com.atlassian.jira.plugin.headernav.AppSwitcherContextProvider
All Implemented Interfaces:
com.atlassian.plugin.web.ContextProvider

public class AppSwitcherContextProvider
extends Object
implements com.atlassian.plugin.web.ContextProvider

Responsible for setting the context variables for the application switcher velocity template

Since:
v5.2

Constructor Summary
AppSwitcherContextProvider(ApplicationProperties applicationProperties, VelocityRequestContextFactory velocityRequestContextFactory)
           
 
Method Summary
 Map<String,Object> getContextMap(Map<String,Object> context)
           
 void init(Map<String,String> params)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppSwitcherContextProvider

public AppSwitcherContextProvider(ApplicationProperties applicationProperties,
                                  VelocityRequestContextFactory velocityRequestContextFactory)
Method Detail

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


Copyright © 2002-2013 Atlassian. All Rights Reserved.