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