public static class YarnPushCommand.PushOptionHandler extends AbstractApplicationCommand.ApplicationOptionHandler<java.lang.String>
Constructor and Description |
---|
YarnPushCommand.PushOptionHandler() |
Modifier and Type | Method and Description |
---|---|
joptsimple.OptionSpec<java.lang.String> |
getApplicationVersionOption() |
protected void |
handleApplicationRun(ClientApplicationRunner<java.lang.String> app)
Handles run of
ClientApplicationRunner . |
protected void |
options() |
protected void |
runApplication(joptsimple.OptionSet options)
Run the application.
|
handleApplicationRun, handleOutput, isFlagOn, run, verifyOptionSet
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 processingprotected void handleApplicationRun(ClientApplicationRunner<java.lang.String> app)
AbstractApplicationCommand.ApplicationOptionHandler
ClientApplicationRunner
.handleApplicationRun
in class AbstractApplicationCommand.ApplicationOptionHandler<java.lang.String>
app
- the apppublic joptsimple.OptionSpec<java.lang.String> getApplicationVersionOption()