public class VelocityParamFactoryImpl extends Object implements VelocityParamFactory
Constructor and Description |
---|
VelocityParamFactoryImpl(JiraAuthenticationContext jac) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getDefaultVelocityParams()
Method to construct a map with a number of common parameters used by velocity templates.
|
Map<String,Object> |
getDefaultVelocityParams(JiraAuthenticationContext authenticationContext)
Method to construct a map with a number of common parameters used by velocity templates.
|
Map<String,Object> |
getDefaultVelocityParams(Map<String,Object> startingParams)
Method to construct a map with a number of common parameters used by velocity templates.
|
Map<String,Object> |
getDefaultVelocityParams(Map<String,Object> startingParams,
JiraAuthenticationContext authenticationContext)
Method to construct a map with a number of common parameters used by velocity templates.
|
public VelocityParamFactoryImpl(JiraAuthenticationContext jac)
public Map<String,Object> getDefaultVelocityParams()
VelocityParamFactory
getDefaultVelocityParams
in interface VelocityParamFactory
public Map<String,Object> getDefaultVelocityParams(Map<String,Object> startingParams)
VelocityParamFactory
getDefaultVelocityParams
in interface VelocityParamFactory
startingParams
- Map of parameters that may be used to override any of the parameters set here.public Map<String,Object> getDefaultVelocityParams(JiraAuthenticationContext authenticationContext)
VelocityParamFactory
getDefaultVelocityParams
in interface VelocityParamFactory
authenticationContext
- JiraAuthenticationContextpublic Map<String,Object> getDefaultVelocityParams(Map<String,Object> startingParams, JiraAuthenticationContext authenticationContext)
VelocityParamFactory
getDefaultVelocityParams
in interface VelocityParamFactory
startingParams
- Map of parameters that may be used to override any of the parameters set here.authenticationContext
- JiraAuthenticationContextCopyright © 2002-2017 Atlassian. All Rights Reserved.