public static class YarnSubmitCommand.SubmitOptionHandler extends AbstractApplicationCommand.ApplicationOptionHandler<ApplicationId>
| Constructor and Description |
|---|
YarnSubmitCommand.SubmitOptionHandler() |
| Modifier and Type | Method and Description |
|---|---|
joptsimple.OptionSpec<String> |
getApplicationNameOption()
Get the application name option.
|
joptsimple.OptionSpec<String> |
getApplicationVersionOption()
Get the application version option.
|
protected void |
handleApplicationRun(org.springframework.yarn.boot.app.ClientApplicationRunner<ApplicationId> app)
Handles run of
ClientApplicationRunner. |
protected void |
options() |
protected void |
runApplication(joptsimple.OptionSet options)
Run the application.
|
handleApplicationRun, handleOutput, isFlagOn, run, verifyOptionSetpublic YarnSubmitCommand.SubmitOptionHandler()
protected final void options()
options in class org.springframework.boot.cli.command.options.OptionHandlerprotected void runApplication(joptsimple.OptionSet options)
throws Exception
AbstractApplicationCommand.ApplicationOptionHandlerrunApplication in class AbstractApplicationCommand.ApplicationOptionHandler<ApplicationId>options - the options setException - if error occurred during the processingprotected void handleApplicationRun(org.springframework.yarn.boot.app.ClientApplicationRunner<ApplicationId> app)
AbstractApplicationCommand.ApplicationOptionHandlerClientApplicationRunner.handleApplicationRun in class AbstractApplicationCommand.ApplicationOptionHandler<ApplicationId>app - the apppublic joptsimple.OptionSpec<String> getApplicationVersionOption()
public joptsimple.OptionSpec<String> getApplicationNameOption()