public static class YarnShutdownCommand.ShutdownOptionHandler extends AbstractApplicationCommand.ApplicationOptionHandler<java.lang.String>
Constructor and Description |
---|
YarnShutdownCommand.ShutdownOptionHandler() |
Modifier and Type | Method and Description |
---|---|
joptsimple.OptionSpec<java.lang.String> |
getApplicationIdOption() |
protected void |
options() |
protected void |
runApplication(joptsimple.OptionSet options)
Run the application.
|
handleApplicationRun, handleApplicationRun, handleOutput, isFlagOn, run, verifyOptionSet
public YarnShutdownCommand.ShutdownOptionHandler()
protected final void options()
options
in class org.springframework.boot.cli.command.options.OptionHandler
protected void runApplication(joptsimple.OptionSet options) throws java.lang.Exception
AbstractApplicationCommand.ApplicationOptionHandler
runApplication
in class AbstractApplicationCommand.ApplicationOptionHandler<java.lang.String>
options
- the options setjava.lang.Exception
- if error occurred during the processingpublic joptsimple.OptionSpec<java.lang.String> getApplicationIdOption()