org.apache.whirr.service.jclouds
Class StatementBuilder

java.lang.Object
  extended by org.apache.whirr.service.jclouds.StatementBuilder

public class StatementBuilder
extends Object


Field Summary
protected  Map<String,String> exports
           
protected  List<org.jclouds.scriptbuilder.domain.Statement> statements
           
 
Constructor Summary
StatementBuilder()
           
 
Method Summary
 void addExport(String key, String value)
           
 void addStatement(org.jclouds.scriptbuilder.domain.Statement statement)
           
 void addStatements(org.jclouds.scriptbuilder.domain.Statement... statements)
           
 org.jclouds.scriptbuilder.domain.Statement build(ClusterSpec clusterSpec)
           
 org.jclouds.scriptbuilder.domain.Statement build(ClusterSpec clusterSpec, Cluster.Instance instance)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

statements

protected List<org.jclouds.scriptbuilder.domain.Statement> statements

exports

protected Map<String,String> exports
Constructor Detail

StatementBuilder

public StatementBuilder()
Method Detail

addStatement

public void addStatement(org.jclouds.scriptbuilder.domain.Statement statement)

addStatements

public void addStatements(org.jclouds.scriptbuilder.domain.Statement... statements)

addExport

public void addExport(String key,
                      String value)

build

public org.jclouds.scriptbuilder.domain.Statement build(ClusterSpec clusterSpec)

build

public org.jclouds.scriptbuilder.domain.Statement build(ClusterSpec clusterSpec,
                                                        Cluster.Instance instance)


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