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 for
EntrypointClusterConfiguration.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateResult(org.apache.commons.cli.CommandLine commandLine) Create the result of the command line argument parsing.org.apache.commons.cli.OptionsReturns all relevantOptionsfor parsing the command line arguments.
-
Constructor Details
-
EntrypointClusterConfigurationParserFactory
public EntrypointClusterConfigurationParserFactory()
-
-
Method Details
-
getOptions
public org.apache.commons.cli.Options getOptions()Description copied from interface:ParserResultFactoryReturns all relevantOptionsfor parsing the command line arguments.- Specified by:
getOptionsin interfaceParserResultFactory<EntrypointClusterConfiguration>- Returns:
- Options to use for the parsing
-
createResult
public EntrypointClusterConfiguration createResult(@Nonnull org.apache.commons.cli.CommandLine commandLine) Description copied from interface:ParserResultFactoryCreate the result of the command line argument parsing.- Specified by:
createResultin interfaceParserResultFactory<EntrypointClusterConfiguration>- Parameters:
commandLine- to extract the options from- Returns:
- Result of the parsing
-