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 java.lang.String |
DEFAULT_COMMAND |
static java.lang.String |
DEFAULT_DESC |
Constructor and Description |
---|
YarnSubmittedCommand()
Instantiates a new yarn submitted command using a default
command name, command description and option handler.
|
YarnSubmittedCommand(java.lang.String name,
java.lang.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.
|
getUsageHelp
getHandler, getHelp, getOptionsHelp, run
public static final java.lang.String DEFAULT_COMMAND
public static final java.lang.String DEFAULT_DESC
public YarnSubmittedCommand()
public YarnSubmittedCommand(YarnSubmittedCommand.SubmittedOptionHandler handler)
handler
- the handlerpublic YarnSubmittedCommand(java.lang.String name, java.lang.String description, YarnSubmittedCommand.SubmittedOptionHandler handler)
name
- the command namedescription
- the command descriptionhandler
- the handler