com.atlassian.velocity
Class JiraVelocityManager
java.lang.Object
com.atlassian.velocity.DefaultVelocityManager
com.atlassian.velocity.JiraVelocityManager
- All Implemented Interfaces:
- com.atlassian.velocity.VelocityManager
public class JiraVelocityManager
- extends com.atlassian.velocity.DefaultVelocityManager
Methods inherited from class com.atlassian.velocity.DefaultVelocityManager |
getBody, getBody, getEncodedBody, getEncodedBody, getEncodedBody, getEncodedBodyForContent, getErrorMessageForException, initVe, writeEncodedBody, writeEncodedBodyForContent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JiraVelocityManager
public JiraVelocityManager(DateTimeFormatter dateTimeFormatter)
JiraVelocityManager
public JiraVelocityManager(DateTimeFormatter dateTimeFormatter,
VelocityEngineFactory velocityEngineFactory)
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
Copyright © 2002-2014 Atlassian. All Rights Reserved.