public class DestroyInstanceCommand extends AbstractClusterCommand
factory, parser, stateStoreFactory| Constructor and Description |
|---|
DestroyInstanceCommand() |
DestroyInstanceCommand(ClusterControllerFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
void |
printUsage(PrintStream stream)
Print a generic usage indication for commands
|
int |
run(InputStream in,
PrintStream out,
PrintStream err,
ClusterSpec clusterSpec,
String instanceId) |
int |
run(InputStream in,
PrintStream out,
PrintStream err,
List<String> args) |
createClusterController, createClusterStateStore, getCluster, getClusterSpec, printErrorAndHelpHint, printProviderInfogetDescription, getNamepublic DestroyInstanceCommand()
throws IOException
IOExceptionpublic DestroyInstanceCommand(ClusterControllerFactory factory)
public int run(InputStream in, PrintStream out, PrintStream err, List<String> args) throws Exception
public int run(InputStream in, PrintStream out, PrintStream err, ClusterSpec clusterSpec, String instanceId) throws Exception
Exceptionpublic void printUsage(PrintStream stream) throws IOException
AbstractClusterCommandprintUsage in class AbstractClusterCommandIOExceptionCopyright © 2010–2016 Cloudera. All rights reserved.