org.apache.whirr.template
Class TemplateUtils

java.lang.Object
  extended by org.apache.whirr.template.TemplateUtils

public class TemplateUtils
extends Object


Constructor Summary
TemplateUtils()
           
 
Method Summary
static org.jclouds.scriptbuilder.domain.Statement createFileFromTemplate(String path, org.apache.velocity.app.VelocityEngine engine, String templateName, ClusterSpec clusterSpec, Cluster cluster)
           
static org.apache.velocity.app.VelocityEngine newVelocityEngine()
           
static org.apache.velocity.app.VelocityEngine newVelocityEngine(Properties properties)
           
static String processTemplate(org.apache.velocity.app.VelocityEngine engine, String templateName, ClusterSpec clusterSpec, Cluster cluster)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateUtils

public TemplateUtils()
Method Detail

createFileFromTemplate

public static org.jclouds.scriptbuilder.domain.Statement createFileFromTemplate(String path,
                                                                                org.apache.velocity.app.VelocityEngine engine,
                                                                                String templateName,
                                                                                ClusterSpec clusterSpec,
                                                                                Cluster cluster)

processTemplate

public static String processTemplate(org.apache.velocity.app.VelocityEngine engine,
                                     String templateName,
                                     ClusterSpec clusterSpec,
                                     Cluster cluster)

newVelocityEngine

public static org.apache.velocity.app.VelocityEngine newVelocityEngine()

newVelocityEngine

public static org.apache.velocity.app.VelocityEngine newVelocityEngine(Properties properties)


Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.