org.apache.whirr.service.jclouds
Class RunUrlStatement

java.lang.Object
  extended by org.apache.whirr.service.jclouds.RunUrlStatement
All Implemented Interfaces:
org.jclouds.scriptbuilder.domain.Statement

public class RunUrlStatement
extends Object
implements org.jclouds.scriptbuilder.domain.Statement


Constructor Summary
RunUrlStatement(boolean checkUrlExists, String runUrlBase, String url, String... args)
           
RunUrlStatement(String runUrlBase, String url, String... args)
           
 
Method Summary
static void checkUrlExists(URL url, String errorMessageTemplate, Object... errorMessageArgs)
           
 boolean equals(Object o)
           
 Iterable<String> functionDependencies(org.jclouds.scriptbuilder.domain.OsFamily family)
           
 int hashCode()
           
 String render(org.jclouds.scriptbuilder.domain.OsFamily family)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RunUrlStatement

public RunUrlStatement(String runUrlBase,
                       String url,
                       String... args)
                throws IOException
Throws:
IOException

RunUrlStatement

public RunUrlStatement(boolean checkUrlExists,
                       String runUrlBase,
                       String url,
                       String... args)
                throws IOException
Throws:
IOException
Method Detail

functionDependencies

public Iterable<String> functionDependencies(org.jclouds.scriptbuilder.domain.OsFamily family)
Specified by:
functionDependencies in interface org.jclouds.scriptbuilder.domain.Statement

render

public String render(org.jclouds.scriptbuilder.domain.OsFamily family)
Specified by:
render in interface org.jclouds.scriptbuilder.domain.Statement

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

checkUrlExists

public static void checkUrlExists(URL url,
                                  String errorMessageTemplate,
                                  Object... errorMessageArgs)
                           throws IOException
Throws:
IOException


Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.