public class DynamicParametersConfigurationParserFactory extends Object implements ParserResultFactory<Configuration>
DynamicParametersConfigurationParserFactory
can be used to extract the dynamic parameters
from command line.Constructor and Description |
---|
DynamicParametersConfigurationParserFactory() |
Modifier and Type | Method and Description |
---|---|
Configuration |
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. |
static org.apache.commons.cli.Options |
options() |
public DynamicParametersConfigurationParserFactory()
public static org.apache.commons.cli.Options options()
public org.apache.commons.cli.Options getOptions()
ParserResultFactory
Options
for parsing the command line arguments.getOptions
in interface ParserResultFactory<Configuration>
public Configuration createResult(@Nonnull org.apache.commons.cli.CommandLine commandLine)
ParserResultFactory
createResult
in interface ParserResultFactory<Configuration>
commandLine
- to extract the options fromCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.