org.jclouds.scriptbuilder.domain
Class LiteralStatement

java.lang.Object
  extended by org.jclouds.scriptbuilder.domain.LiteralStatement
All Implemented Interfaces:
Statement

public class LiteralStatement
extends Object
implements Statement

Statement used in a shell script without modifications apart from a trailing newline.


Constructor Summary
LiteralStatement(String statement)
           
 
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

LiteralStatement

public LiteralStatement(String statement)
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-2014 The Apache Software Foundation. All Rights Reserved.