com.atlassian.jira.util
Class JiraVelocityUtils
java.lang.Object
com.atlassian.jira.util.JiraVelocityUtils
public class JiraVelocityUtils
- extends java.lang.Object
Helper class that contains a number of utility methods for velocity templates.
Field Summary |
static org.apache.log4j.Logger |
log
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
public static final org.apache.log4j.Logger log
JiraVelocityUtils
public JiraVelocityUtils()
getDefaultVelocityParams
public static java.util.Map<java.lang.String,java.lang.Object> getDefaultVelocityParams(JiraAuthenticationContext authenticationContext)
- Static 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
getDefaultVelocityParams
public static java.util.Map<java.lang.String,java.lang.Object> getDefaultVelocityParams(java.util.Map<java.lang.String,java.lang.Object> startingParams,
JiraAuthenticationContext authenticationContext)
- Static 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
createVelocityParams
public static java.util.Map<java.lang.String,java.lang.Object> createVelocityParams(JiraAuthenticationContext authenticationContext)
Copyright © 2002-2011 Atlassian. All Rights Reserved.