public class YarnClusterDestroyCommand extends AbstractApplicationCommand
| Modifier and Type | Class and Description |
|---|---|
static class |
YarnClusterDestroyCommand.ClusterDestroyOptionHandler |
AbstractApplicationCommand.ApplicationOptionHandler<R>| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_COMMAND |
static java.lang.String |
DEFAULT_DESC |
| Constructor and Description |
|---|
YarnClusterDestroyCommand()
Instantiates a new yarn cluster destroy command using a default
command name, command description and option handler.
|
YarnClusterDestroyCommand(java.lang.String name,
java.lang.String description,
YarnClusterDestroyCommand.ClusterDestroyOptionHandler handler)
Instantiates a new yarn cluster destroy command.
|
YarnClusterDestroyCommand(YarnClusterDestroyCommand.ClusterDestroyOptionHandler handler)
Instantiates a new yarn cluster destroy command using a default
command name and command description.
|
getUsageHelpgetHandler, getHelp, getOptionsHelp, runpublic static final java.lang.String DEFAULT_COMMAND
public static final java.lang.String DEFAULT_DESC
public YarnClusterDestroyCommand()
public YarnClusterDestroyCommand(YarnClusterDestroyCommand.ClusterDestroyOptionHandler handler)
handler - the handlerpublic YarnClusterDestroyCommand(java.lang.String name,
java.lang.String description,
YarnClusterDestroyCommand.ClusterDestroyOptionHandler handler)
name - the command namedescription - the command descriptionhandler - the handler