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(JiraAuthenticationContext authenticationContext)
           
 
Method Summary
protected  java.util.Map<java.lang.String,?> createContextParams(java.lang.String baseurl, java.util.Map contextParameters)
           
protected  org.apache.velocity.VelocityContext createVelocityContext(java.util.Map params)
           
 java.text.DateFormat getDateFormat()
           
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(JiraAuthenticationContext authenticationContext)
Method Detail

getDateFormat

public java.text.DateFormat getDateFormat()
Specified by:
getDateFormat in interface com.atlassian.velocity.VelocityManager
Overrides:
getDateFormat in class com.atlassian.velocity.DefaultVelocityManager

createVelocityContext

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

createContextParams

protected java.util.Map<java.lang.String,?> createContextParams(java.lang.String baseurl,
                                                                java.util.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-2010 Atlassian. All Rights Reserved.