com.atlassian.jira.plugin.webfragment.contextproviders
Class BaseUrlContextProvider

java.lang.Object
  extended by com.atlassian.jira.plugin.webfragment.contextproviders.BaseUrlContextProvider
All Implemented Interfaces:
com.atlassian.plugin.web.ContextProvider

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

Context Provider that provides the base url of the application. Referenced by "${baseurl}"

Since:
v4.4

Constructor Summary
BaseUrlContextProvider(VelocityRequestContextFactory requestContextFactory)
           
 
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

BaseUrlContextProvider

public BaseUrlContextProvider(VelocityRequestContextFactory requestContextFactory)
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-2014 Atlassian. All Rights Reserved.