public class YarnClusterStopCommand extends AbstractApplicationCommand
| Modifier and Type | Class and Description |
|---|---|
static class |
YarnClusterStopCommand.ClusterStopOptionHandler |
AbstractApplicationCommand.ApplicationOptionHandler<R>| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_COMMAND |
static java.lang.String |
DEFAULT_DESC |
| Constructor and Description |
|---|
YarnClusterStopCommand()
Instantiates a new yarn cluster stop command using a default
command name, command description and option handler.
|
YarnClusterStopCommand(java.lang.String name,
java.lang.String description,
YarnClusterStopCommand.ClusterStopOptionHandler handler)
Instantiates a new yarn cluster stop command.
|
YarnClusterStopCommand(YarnClusterStopCommand.ClusterStopOptionHandler handler)
Instantiates a new yarn cluster stop 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 YarnClusterStopCommand()
public YarnClusterStopCommand(YarnClusterStopCommand.ClusterStopOptionHandler handler)
handler - the handlerpublic YarnClusterStopCommand(java.lang.String name,
java.lang.String description,
YarnClusterStopCommand.ClusterStopOptionHandler handler)
name - the command namedescription - the command descriptionhandler - the handler