Class DynamicParametersConfigurationParserFactory
- java.lang.Object
-
- org.apache.flink.runtime.entrypoint.DynamicParametersConfigurationParserFactory
-
- All Implemented Interfaces:
ParserResultFactory<Configuration>
public class DynamicParametersConfigurationParserFactory extends Object implements ParserResultFactory<Configuration>
DynamicParametersConfigurationParserFactory
can be used to extract the dynamic parameters from command line.
-
-
Constructor Summary
Constructors Constructor Description DynamicParametersConfigurationParserFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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 relevantOptions
for parsing the command line arguments.static org.apache.commons.cli.Options
options()
-
-
-
Method Detail
-
options
public static org.apache.commons.cli.Options options()
-
getOptions
public org.apache.commons.cli.Options getOptions()
Description copied from interface:ParserResultFactory
Returns all relevantOptions
for parsing the command line arguments.- Specified by:
getOptions
in interfaceParserResultFactory<Configuration>
- Returns:
- Options to use for the parsing
-
createResult
public Configuration createResult(@Nonnull org.apache.commons.cli.CommandLine commandLine)
Description copied from interface:ParserResultFactory
Create the result of the command line argument parsing.- Specified by:
createResult
in interfaceParserResultFactory<Configuration>
- Parameters:
commandLine
- to extract the options from- Returns:
- Result of the parsing
-
-