Class EntrypointClusterConfigurationParserFactory
- java.lang.Object
-
- org.apache.flink.runtime.entrypoint.EntrypointClusterConfigurationParserFactory
-
- All Implemented Interfaces:
ParserResultFactory<EntrypointClusterConfiguration>
public class EntrypointClusterConfigurationParserFactory extends Object implements ParserResultFactory<EntrypointClusterConfiguration>
Parser factory forEntrypointClusterConfiguration
.
-
-
Constructor Summary
Constructors Constructor Description EntrypointClusterConfigurationParserFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EntrypointClusterConfiguration
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.
-
-
-
Method Detail
-
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<EntrypointClusterConfiguration>
- Returns:
- Options to use for the parsing
-
createResult
public EntrypointClusterConfiguration 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<EntrypointClusterConfiguration>
- Parameters:
commandLine
- to extract the options from- Returns:
- Result of the parsing
-
-