org.apache.whirr.cli.command
Class RunScriptCommand

java.lang.Object
  extended by org.apache.whirr.cli.Command
      extended by org.apache.whirr.cli.command.AbstractClusterSpecCommand
          extended by org.apache.whirr.cli.command.RunScriptCommand

public class RunScriptCommand
extends AbstractClusterSpecCommand


Field Summary
 
Fields inherited from class org.apache.whirr.cli.command.AbstractClusterSpecCommand
factory, parser, stateStoreFactory
 
Constructor Summary
RunScriptCommand()
           
RunScriptCommand(ClusterControllerFactory factory)
           
RunScriptCommand(ClusterControllerFactory factory, ClusterStateStoreFactory stateStoreFactory)
           
 
Method Summary
 int run(InputStream in, PrintStream out, PrintStream err, List<String> args)
           
 
Methods inherited from class org.apache.whirr.cli.command.AbstractClusterSpecCommand
createClusterController, createClusterStateStore, getClusterSpec
 
Methods inherited from class org.apache.whirr.cli.Command
getDescription, getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RunScriptCommand

public RunScriptCommand()

RunScriptCommand

public RunScriptCommand(ClusterControllerFactory factory)

RunScriptCommand

public RunScriptCommand(ClusterControllerFactory factory,
                        ClusterStateStoreFactory stateStoreFactory)
Method Detail

run

public int run(InputStream in,
               PrintStream out,
               PrintStream err,
               List<String> args)
        throws Exception
Specified by:
run in class Command
Throws:
Exception


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