com.atlassian.jira.util
Class JiraVelocityUtils

java.lang.Object
  extended by 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
           
 
Constructor Summary
JiraVelocityUtils()
           
 
Method Summary
static Map getDefaultVelocityParams(JiraAuthenticationContext authenticationContext)
          Static method to construct a map with a number of common paramaters used by velocity templates.
static Map getDefaultVelocityParams(Map startingParams, JiraAuthenticationContext authenticationContext)
          Static method to construct a map with a number of common paramaters used by velocity templates.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

public static final org.apache.log4j.Logger log
Constructor Detail

JiraVelocityUtils

public JiraVelocityUtils()
Method Detail

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.