T
- type of the parsed resultpublic interface ParserResultFactory<T>
CommandLineParser
.Modifier and Type | Method and Description |
---|---|
T |
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. |
org.apache.commons.cli.Options getOptions()
Options
for parsing the command line arguments.T createResult(@Nonnull org.apache.commons.cli.CommandLine commandLine) throws FlinkParseException
commandLine
- to extract the options fromFlinkParseException
- Thrown on failures while parsing command line argumentsCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.