public class ClusterConfigurationParserFactory extends Object implements ParserResultFactory<ClusterConfiguration>
ClusterConfiguration from the given
list of command line arguments.| Constructor and Description |
|---|
ClusterConfigurationParserFactory() |
| Modifier and Type | Method and Description |
|---|---|
ClusterConfiguration |
createResult(org.apache.commons.cli.CommandLine commandLine)
Create the result of the command line argument parsing.
|
org.apache.commons.cli.Options |
getOptions()
Returns all relevant
Options for parsing the command line
arguments. |
public org.apache.commons.cli.Options getOptions()
ParserResultFactoryOptions for parsing the command line
arguments.getOptions in interface ParserResultFactory<ClusterConfiguration>public ClusterConfiguration createResult(@Nonnull org.apache.commons.cli.CommandLine commandLine)
ParserResultFactorycreateResult in interface ParserResultFactory<ClusterConfiguration>commandLine - to extract the options fromCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.