org.jclouds.scriptbuilder.domain
Class CreateRunScript

java.lang.Object
  extended by com.google.common.collect.ForwardingObject
      extended by com.google.common.collect.ForwardingCollection<E>
          extended by com.google.common.collect.ForwardingList<Statement>
              extended by org.jclouds.scriptbuilder.domain.StatementList
                  extended by org.jclouds.scriptbuilder.domain.CreateRunScript
All Implemented Interfaces:
Iterable<Statement>, Collection<Statement>, List<Statement>, AcceptsStatementVisitor, Statement

public class CreateRunScript
extends StatementList

Creates a run script


Nested Class Summary
static class CreateRunScript.AddExport
           
 
Field Summary
static String DELIMITER
           
 
Fields inherited from class org.jclouds.scriptbuilder.domain.StatementList
statements
 
Constructor Summary
CreateRunScript(String instanceName, Iterable<String> exports, String pwd, Iterable<Statement> statements)
           
 
Method Summary
 Iterable<String> functionDependencies(OsFamily family)
           
 String render(OsFamily family)
           
 
Methods inherited from class org.jclouds.scriptbuilder.domain.StatementList
accept, delegate
 
Methods inherited from class com.google.common.collect.ForwardingList
add, addAll, equals, get, hashCode, indexOf, lastIndexOf, listIterator, listIterator, remove, set, standardAdd, standardAddAll, standardEquals, standardHashCode, standardIndexOf, standardIterator, standardLastIndexOf, standardListIterator, standardListIterator, standardSubList, subList
 
Methods inherited from class com.google.common.collect.ForwardingCollection
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, standardAddAll, standardClear, standardContains, standardContainsAll, standardIsEmpty, standardRemove, standardRemoveAll, standardRetainAll, standardToArray, standardToArray, standardToString, toArray, toArray
 
Methods inherited from class com.google.common.collect.ForwardingObject
toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 

Field Detail

DELIMITER

public static final String DELIMITER
See Also:
Constant Field Values
Constructor Detail

CreateRunScript

public CreateRunScript(String instanceName,
                       Iterable<String> exports,
                       String pwd,
                       Iterable<Statement> statements)
Parameters:
exports - variable names to export in UPPER_UNDERSCORE case format
Method Detail

functionDependencies

public Iterable<String> functionDependencies(OsFamily family)
Specified by:
functionDependencies in interface Statement
Overrides:
functionDependencies in class StatementList

render

public String render(OsFamily family)
Specified by:
render in interface Statement
Overrides:
render in class StatementList


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.