org.jclouds.scriptbuilder.domain
Class StatementList

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
All Implemented Interfaces:
Iterable<Statement>, Collection<Statement>, List<Statement>, AcceptsStatementVisitor, Statement
Direct Known Subclasses:
CreateRunScript, InstallJDK.FromURL

public class StatementList
extends com.google.common.collect.ForwardingList<Statement>
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)
           
 List<Statement> delegate()
           
 Iterable<String> functionDependencies(OsFamily family)
           
 String render(OsFamily family)
           
 
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

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

accept

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

delegate

public List<Statement> delegate()
Overrides:
delegate in class com.google.common.collect.ForwardingList<Statement>


Copyright © 2009-2012 jclouds. All Rights Reserved.