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 String |
DEFAULT_COMMAND |
static 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(String name,
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 String DEFAULT_COMMAND
public static final String DEFAULT_DESC
public YarnClusterDestroyCommand()
public YarnClusterDestroyCommand(YarnClusterDestroyCommand.ClusterDestroyOptionHandler handler)
handler - the handlerpublic YarnClusterDestroyCommand(String name, String description, YarnClusterDestroyCommand.ClusterDestroyOptionHandler handler)
name - the command namedescription - the command descriptionhandler - the handler