org.jclouds.scriptbuilder.domain
Class Call

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

public class Call
extends Object
implements Statement

Statement used in a shell script

Author:
Adrian Cole

Field Summary
static Map<OsFamily,String> OS_TO_CALL
           
 
Constructor Summary
Call(String function, String... args)
           
 
Method Summary
 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

OS_TO_CALL

public static final Map<OsFamily,String> OS_TO_CALL
Constructor Detail

Call

public Call(String function,
            String... args)
Method Detail

render

public String render(OsFamily family)
Specified by:
render in interface Statement

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

functionDependencies

public Iterable<String> functionDependencies(OsFamily family)
Specified by:
functionDependencies in interface Statement


Copyright © 2009-2012 jclouds. All Rights Reserved.