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