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