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 String |
DEFAULT_COMMAND |
static 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(String name,
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 String DEFAULT_COMMAND
public static final String DEFAULT_DESC
public YarnClustersInfoCommand()
public YarnClustersInfoCommand(YarnClustersInfoCommand.ClustersInfoOptionHandler handler)
handler - the handlerpublic YarnClustersInfoCommand(String name, String description, YarnClustersInfoCommand.ClustersInfoOptionHandler handler)
name - the command namedescription - the command descriptionhandler - the handler