org.jclouds.scriptbuilder.domain
Class StatementList

java.lang.Object
  extended by org.jclouds.scriptbuilder.domain.StatementList
All Implemented Interfaces:
AcceptsStatementVisitor, Statement
Direct Known Subclasses:
CreateRunScript

public class StatementList
extends Object
implements Statement, AcceptsStatementVisitor

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
 void accept(StatementVisitor visitor)
           
 boolean equals(Object obj)
           
 Iterable<String> functionDependencies(OsFamily family)
           
 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

accept

public void accept(StatementVisitor visitor)
Specified by:
accept in interface AcceptsStatementVisitor


Copyright © 2009-2011 jclouds. All Rights Reserved.