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