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