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