public interface CustomCommandLine
| Modifier and Type | Method and Description |
|---|---|
void |
addGeneralOptions(org.apache.commons.cli.Options baseOptions)
Adds custom options to the existing general options.
|
void |
addRunOptions(org.apache.commons.cli.Options baseOptions)
Adds custom options to the existing run options.
|
String |
getId()
Gets the unique identifier of this CustomCommandLine.
|
boolean |
isActive(org.apache.commons.cli.CommandLine commandLine)
Signals whether the custom command-line wants to execute or not.
|
default org.apache.commons.cli.CommandLine |
parseCommandLineOptions(String[] args,
boolean stopAtNonOptions) |
org.apache.flink.configuration.Configuration |
toConfiguration(org.apache.commons.cli.CommandLine commandLine)
Materializes the command line arguments in the given
CommandLine to a Configuration and returns it. |
boolean isActive(org.apache.commons.cli.CommandLine commandLine)
commandLine - The command-line optionsString getId()
void addRunOptions(org.apache.commons.cli.Options baseOptions)
baseOptions - The existing options.void addGeneralOptions(org.apache.commons.cli.Options baseOptions)
baseOptions - The existing options.org.apache.flink.configuration.Configuration toConfiguration(org.apache.commons.cli.CommandLine commandLine)
throws org.apache.flink.util.FlinkException
CommandLine to a Configuration and returns it.org.apache.flink.util.FlinkExceptiondefault org.apache.commons.cli.CommandLine parseCommandLineOptions(String[] args, boolean stopAtNonOptions) throws CliArgsException
CliArgsExceptionCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.