org.apache.whirr.cli.command
Class LaunchClusterCommand
java.lang.Object
org.apache.whirr.command.Command
org.apache.whirr.command.AbstractClusterCommand
org.apache.whirr.cli.command.LaunchClusterCommand
public class LaunchClusterCommand
- extends AbstractClusterCommand
A command to launch a new cluster.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LaunchClusterCommand
public LaunchClusterCommand()
throws IOException
- Throws:
IOException
LaunchClusterCommand
public LaunchClusterCommand(ClusterControllerFactory factory)
run
public int run(InputStream in,
PrintStream out,
PrintStream err,
List<String> args)
throws Exception
- Specified by:
run
in class Command
- Throws:
Exception
run
public int run(InputStream in,
PrintStream out,
PrintStream err,
ClusterSpec clusterSpec)
throws Exception
- Throws:
Exception
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.