com.atlassian.velocity
Class JiraVelocityManager

java.lang.Object
  extended by com.atlassian.velocity.DefaultVelocityManager
      extended by com.atlassian.velocity.JiraVelocityManager
All Implemented Interfaces:
com.atlassian.velocity.VelocityManager

public class JiraVelocityManager
extends com.atlassian.velocity.DefaultVelocityManager


Constructor Summary
JiraVelocityManager(DateTimeFormatter dateTimeFormatter)
           
 
Method Summary
protected  Map<String,?> createContextParams(String baseurl, Map contextParameters)
           
protected  org.apache.velocity.VelocityContext createVelocityContext(Map params)
           
 DateFormat getDateFormat()
          Returns a new DateFormat.
protected  org.apache.velocity.app.VelocityEngine getVe()
           
protected  void initVe(org.apache.velocity.app.VelocityEngine velocityEngine)
           
 
Methods inherited from class com.atlassian.velocity.DefaultVelocityManager
getBody, getBody, getEncodedBody, getEncodedBody, getEncodedBody, getEncodedBodyForContent, getErrorMessageForException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JiraVelocityManager

public JiraVelocityManager(DateTimeFormatter dateTimeFormatter)
Method Detail

getDateFormat

public DateFormat getDateFormat()
Returns a new DateFormat.

Specified by:
getDateFormat in interface com.atlassian.velocity.VelocityManager
Overrides:
getDateFormat in class com.atlassian.velocity.DefaultVelocityManager
Returns:
a new DateFormat

createVelocityContext

protected org.apache.velocity.VelocityContext createVelocityContext(Map params)
Overrides:
createVelocityContext in class com.atlassian.velocity.DefaultVelocityManager

createContextParams

protected Map<String,?> createContextParams(String baseurl,
                                            Map contextParameters)
Overrides:
createContextParams in class com.atlassian.velocity.DefaultVelocityManager

getVe

protected org.apache.velocity.app.VelocityEngine getVe()
Overrides:
getVe in class com.atlassian.velocity.DefaultVelocityManager

initVe

protected void initVe(org.apache.velocity.app.VelocityEngine velocityEngine)
Overrides:
initVe in class com.atlassian.velocity.DefaultVelocityManager


Copyright © 2002-2012 Atlassian. All Rights Reserved.