com.atlassian.jira.util
Class VelocityParamFactoryImpl
java.lang.Object
com.atlassian.jira.util.VelocityParamFactoryImpl
- All Implemented Interfaces:
- VelocityParamFactory
public class VelocityParamFactoryImpl
- extends Object
- implements VelocityParamFactory
- Since:
- v5.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VelocityParamFactoryImpl
public VelocityParamFactoryImpl()
getDefaultVelocityParams
public Map<String,Object> getDefaultVelocityParams(JiraAuthenticationContext authenticationContext)
- Description copied from interface:
VelocityParamFactory
- Method to construct a map with a number of common parameters used by velocity templates.
- Specified by:
getDefaultVelocityParams
in interface VelocityParamFactory
- Parameters:
authenticationContext
- JiraAuthenticationContext
- Returns:
- a Map with common velocity parameters
getDefaultVelocityParams
public Map<String,Object> getDefaultVelocityParams(Map<String,Object> startingParams,
JiraAuthenticationContext authenticationContext)
- Description copied from interface:
VelocityParamFactory
- Method to construct a map with a number of common parameters used by velocity templates.
- Specified by:
getDefaultVelocityParams
in interface VelocityParamFactory
- Parameters:
startingParams
- Map of parameters that may be used to override any of the parameters set here.authenticationContext
- JiraAuthenticationContext
- Returns:
- a Map with common velocity parameters
Copyright © 2002-2012 Atlassian. All Rights Reserved.