public class

VelocityParamFactoryImpl

extends Object
implements VelocityParamFactory
java.lang.Object
   ↳ com.atlassian.jira.util.VelocityParamFactoryImpl

Summary

Public Constructors
VelocityParamFactoryImpl(JiraAuthenticationContext jac)
Public Methods
Map<StringObject> getDefaultVelocityParams(JiraAuthenticationContext authenticationContext)
Method to construct a map with a number of common parameters used by velocity templates.
Map<StringObject> getDefaultVelocityParams(Map<StringObject> startingParams)
Method to construct a map with a number of common parameters used by velocity templates.
Map<StringObject> getDefaultVelocityParams()
Method to construct a map with a number of common parameters used by velocity templates.
Map<StringObject> getDefaultVelocityParams(Map<StringObject> startingParams, JiraAuthenticationContext authenticationContext)
Method to construct a map with a number of common parameters used by velocity templates.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.util.VelocityParamFactory

Public Constructors

public VelocityParamFactoryImpl (JiraAuthenticationContext jac)

Public Methods

public Map<StringObject> getDefaultVelocityParams (JiraAuthenticationContext authenticationContext)

Method to construct a map with a number of common parameters used by velocity templates.

Parameters
authenticationContext JiraAuthenticationContext
Returns
  • a Map with common velocity parameters

public Map<StringObject> getDefaultVelocityParams (Map<StringObject> startingParams)

Method to construct a map with a number of common parameters used by velocity templates. It uses the user from the current request.

Parameters
startingParams Map of parameters that may be used to override any of the parameters set here.
Returns
  • a Map with common velocity parameters

public Map<StringObject> getDefaultVelocityParams ()

Method to construct a map with a number of common parameters used by velocity templates. It uses the user from the current request.

Returns
  • a Map with common velocity parameters

public Map<StringObject> getDefaultVelocityParams (Map<StringObject> startingParams, JiraAuthenticationContext authenticationContext)

Method to construct a map with a number of common parameters used by velocity templates.

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