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