org.jclouds.scriptbuilder.domain
Class InterpretableStatement

java.lang.Object
  extended by org.jclouds.scriptbuilder.domain.InterpretableStatement
All Implemented Interfaces:
Statement
Direct Known Subclasses:
PipeHttpResponseTo, SaveHttpResponseTo, UnzipHttpResponseIntoDirectory

public class InterpretableStatement
extends Object
implements Statement

Statement used in a shell script

Author:
Adrian Cole

Constructor Summary
InterpretableStatement(String... statements)
           
 
Method Summary
 boolean equals(Object obj)
           
 Iterable<String> functionDependencies(OsFamily family)
           
 int hashCode()
           
 String render(OsFamily family)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InterpretableStatement

public InterpretableStatement(String... 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

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2012 jclouds. All Rights Reserved.