public static class YarnSubmittedCommand.SubmittedOptionHandler extends AbstractApplicationCommand.ApplicationOptionHandler<java.lang.String>
Constructor and Description |
---|
YarnSubmittedCommand.SubmittedOptionHandler() |
YarnSubmittedCommand.SubmittedOptionHandler(java.lang.String defaultAppType) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDefaultAppType() |
joptsimple.OptionSpec<java.lang.String> |
getTypeOption() |
joptsimple.OptionSpec<java.lang.Boolean> |
getVerboseOption() |
protected void |
options() |
protected void |
runApplication(joptsimple.OptionSet options)
Run the application.
|
handleApplicationRun, handleApplicationRun, handleOutput, isFlagOn, run, verifyOptionSet
public YarnSubmittedCommand.SubmittedOptionHandler()
public YarnSubmittedCommand.SubmittedOptionHandler(java.lang.String defaultAppType)
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 java.lang.String getDefaultAppType()
public joptsimple.OptionSpec<java.lang.String> getTypeOption()
public joptsimple.OptionSpec<java.lang.Boolean> getVerboseOption()