com.atlassian.jira.util
Class JiraVelocityUtils
java.lang.Object
com.atlassian.jira.util.JiraVelocityUtils
public class JiraVelocityUtils
- extends 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 Map getDefaultVelocityParams(JiraAuthenticationContext authenticationContext)
- Static method to construct a map with a number of common paramaters used by velocity templates.
- Parameters:
authenticationContext
-
- Returns:
- a Map with common velocity parameters
getDefaultVelocityParams
public static Map getDefaultVelocityParams(Map startingParams,
JiraAuthenticationContext authenticationContext)
- Static method to construct a map with a number of common paramaters used by velocity templates.
- Parameters:
startingParams
- Map of parameters that may be used to override any of the paramaters set here.authenticationContext
-
- Returns:
- a Map with common velocity parameters
Copyright © 2002-2007 Atlassian. All Rights Reserved.