Package org.jclouds.scriptbuilder.domain
Class StatementList
- java.lang.Object
-
- com.google.common.collect.ForwardingObject
-
- com.google.common.collect.ForwardingCollection<E>
-
- com.google.common.collect.ForwardingList<Statement>
-
- org.jclouds.scriptbuilder.domain.StatementList
-
- All Implemented Interfaces:
Iterable<Statement>
,Collection<Statement>
,List<Statement>
,AcceptsStatementVisitor
,Statement
- Direct Known Subclasses:
CreateRunScript
,InstallChefUsingOmnibus
,InstallGit
,InstallJDK.FromOpenJDK
,InstallJDK.FromURL
,InstallRuby
public class StatementList extends com.google.common.collect.ForwardingList<Statement> implements Statement, AcceptsStatementVisitor
Statements used in a shell script
-
-
Field Summary
Fields Modifier and Type Field Description List<Statement>
statements
-
Constructor Summary
Constructors Constructor Description StatementList(Iterable<Statement> statements)
StatementList(Statement... statements)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
-
-
-
Method Detail
-
functionDependencies
public Iterable<String> functionDependencies(OsFamily family)
- Specified by:
functionDependencies
in interfaceStatement
-
accept
public void accept(StatementVisitor visitor)
- Specified by:
accept
in interfaceAcceptsStatementVisitor
-
-