org.jclouds.scriptbuilder.domain
Class StatementList

java.lang.Object
  extended by org.jclouds.scriptbuilder.domain.StatementList
All Implemented Interfaces:
Statement

public class StatementList
extends Object
implements Statement

Statements used in a shell script

Author:
Adrian Cole

Field Summary
 List<Statement> statements
           
 
Constructor Summary
StatementList(Iterable<Statement> statements)
           
StatementList(Statement... statements)
           
 
Method Summary
 Iterable<String> functionDependecies(OsFamily family)
           
 String render(OsFamily family)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

statements

public final List<Statement> statements
Constructor Detail

StatementList

public StatementList(Statement... statements)

StatementList

public StatementList(Iterable<Statement> statements)
Method Detail

render

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

functionDependecies

public Iterable<String> functionDependecies(OsFamily family)
Specified by:
functionDependecies in interface Statement


Copyright © 2009-2013 jclouds. All Rights Reserved.