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
 boolean equals(Object obj)
           
 Iterable<String> functionDependencies(OsFamily family)
           
 List<Statement> getStatements()
           
 int hashCode()
           
 String render(OsFamily family)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, 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

functionDependencies

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getStatements

public List<Statement> getStatements()


Copyright © 2009-2011 jclouds. All Rights Reserved.