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