org.apache.whirr.cli.command
Class DestroyInstanceCommand
java.lang.Object
org.apache.whirr.cli.Command
org.apache.whirr.cli.command.AbstractClusterSpecCommand
org.apache.whirr.cli.command.DestroyInstanceCommand
public class DestroyInstanceCommand
- extends AbstractClusterSpecCommand
A command to destroy an instance from a cluster
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DestroyInstanceCommand
public DestroyInstanceCommand()
throws IOException
- Throws:
IOException
DestroyInstanceCommand
public DestroyInstanceCommand(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
Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.