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 EntrypointClusterConfigurationcreateResult(org.apache.commons.cli.CommandLine commandLine)Create the result of the command line argument parsing.org.apache.commons.cli.OptionsgetOptions()Returns all relevantOptionsfor parsing the command line arguments.
-
-
-
Method Detail
-
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
-
-