public static class YarnClusterCreateCommand.ClusterCreateOptionHandler extends AbstractApplicationCommand.ApplicationOptionHandler<java.lang.String>
Constructor and Description |
---|
YarnClusterCreateCommand.ClusterCreateOptionHandler() |
Modifier and Type | Method and Description |
---|---|
joptsimple.OptionSpec<java.lang.String> |
getApplicationIdOption() |
joptsimple.OptionSpec<java.lang.String> |
getClusterDefOption() |
joptsimple.OptionSpec<java.lang.String> |
getClusterIdOption() |
protected java.util.Properties |
getExtraProperties(joptsimple.OptionSet options) |
joptsimple.OptionSpec<java.lang.String> |
getProjectionDataAnyOption() |
joptsimple.OptionSpec<java.lang.String> |
getProjectionDataHostsOption() |
joptsimple.OptionSpec<java.lang.String> |
getProjectionDataRacksOption() |
joptsimple.OptionSpec<java.lang.String> |
getProjectionTypeOption() |
protected void |
options() |
protected void |
runApplication(joptsimple.OptionSet options)
Run the application.
|
protected void |
verifyOptionSet(joptsimple.OptionSet options)
Verify option before application is executed.
|
handleApplicationRun, handleApplicationRun, handleOutput, isFlagOn, run
public YarnClusterCreateCommand.ClusterCreateOptionHandler()
protected void options()
options
in class org.springframework.boot.cli.command.options.OptionHandler
protected void verifyOptionSet(joptsimple.OptionSet options) throws java.lang.Exception
AbstractApplicationCommand.ApplicationOptionHandler
AbstractApplicationCommand.ApplicationOptionHandler.runApplication(OptionSet)
.verifyOptionSet
in class AbstractApplicationCommand.ApplicationOptionHandler<java.lang.String>
options
- the options setjava.lang.Exception
- if error occurred during the processingprotected 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()
public joptsimple.OptionSpec<java.lang.String> getClusterIdOption()
public joptsimple.OptionSpec<java.lang.String> getClusterDefOption()
public joptsimple.OptionSpec<java.lang.String> getProjectionTypeOption()
public joptsimple.OptionSpec<java.lang.String> getProjectionDataAnyOption()
public joptsimple.OptionSpec<java.lang.String> getProjectionDataHostsOption()
public joptsimple.OptionSpec<java.lang.String> getProjectionDataRacksOption()
protected java.util.Properties getExtraProperties(joptsimple.OptionSet options)