org.jenkins.ci.backend.plugin_report_card
Class VelocityUtils

java.lang.Object
  extended by org.jenkins.ci.backend.plugin_report_card.VelocityUtils

public final class VelocityUtils
extends Object

Since:
1.0
Author:
Jesse Farinacci

Method Summary
static org.apache.velocity.VelocityContext getVelocityContext(Map<String,?> properties)
           
static org.apache.velocity.Template getVelocityTemplate(String vm)
           
static String interpolate(org.apache.velocity.Template template, Map<String,?> properties)
           
static String interpolate(org.apache.velocity.Template template, org.apache.velocity.VelocityContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getVelocityContext

public static org.apache.velocity.VelocityContext getVelocityContext(Map<String,?> properties)

getVelocityTemplate

public static org.apache.velocity.Template getVelocityTemplate(String vm)
                                                        throws Exception
Throws:
Exception

interpolate

public static String interpolate(org.apache.velocity.Template template,
                                 Map<String,?> properties)
                          throws Exception
Throws:
Exception

interpolate

public static String interpolate(org.apache.velocity.Template template,
                                 org.apache.velocity.VelocityContext context)
                          throws Exception
Throws:
Exception


Copyright © 2011. All Rights Reserved.