public class StandaloneApplicationClusterConfigurationParserFactory extends Object implements ParserResultFactory<org.apache.flink.container.entrypoint.StandaloneApplicationClusterConfiguration>
StandaloneApplicationClusterConfiguration
from a given
list of command line arguments.Constructor and Description |
---|
StandaloneApplicationClusterConfigurationParserFactory() |
Modifier and Type | Method and Description |
---|---|
org.apache.flink.container.entrypoint.StandaloneApplicationClusterConfiguration |
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. |
public StandaloneApplicationClusterConfigurationParserFactory()
public org.apache.commons.cli.Options getOptions()
ParserResultFactory
Options
for parsing the command line arguments.getOptions
in interface ParserResultFactory<org.apache.flink.container.entrypoint.StandaloneApplicationClusterConfiguration>
public org.apache.flink.container.entrypoint.StandaloneApplicationClusterConfiguration createResult(@Nonnull org.apache.commons.cli.CommandLine commandLine) throws FlinkParseException
ParserResultFactory
createResult
in interface ParserResultFactory<org.apache.flink.container.entrypoint.StandaloneApplicationClusterConfiguration>
commandLine
- to extract the options fromFlinkParseException
- Thrown on failures while parsing command line argumentsCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.