public class YarnPushCommand
extends org.springframework.yarn.boot.cli.AbstractApplicationCommand
Modifier and Type | Class and Description |
---|---|
static class |
YarnPushCommand.PushOptionHandler |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_COMMAND |
static String |
DEFAULT_DESC |
Constructor and Description |
---|
YarnPushCommand()
Instantiates a new yarn push command using a default
command name, command description and option handler.
|
YarnPushCommand(String name,
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.
|
getUsageHelp
getHandler, getHelp, getOptionsHelp, run
public static final String DEFAULT_COMMAND
public static final String DEFAULT_DESC
public YarnPushCommand()
public YarnPushCommand(YarnPushCommand.PushOptionHandler handler)
handler
- the handlerpublic YarnPushCommand(String name, String description, YarnPushCommand.PushOptionHandler handler)
name
- the command namedescription
- the command descriptionhandler
- the handlerCopyright © 2017 Pivotal Software, Inc.. All rights reserved.