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