@Internal public class ExecutorCLI extends Object implements CustomCommandLine
CustomCommandLine that only expects
the execution.target parameter to be explicitly specified and simply forwards the
rest of the options specified with -D to the corresponding PipelineExecutor
for further parsing.| 构造器和说明 |
|---|
ExecutorCLI(org.apache.flink.configuration.Configuration configuration) |
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
org.apache.flink.configuration.Configuration |
applyCommandLineOptionsToConfiguration(org.apache.commons.cli.CommandLine commandLine)
Override configuration settings by specified command line 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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitparseCommandLineOptionspublic boolean isActive(org.apache.commons.cli.CommandLine commandLine)
CustomCommandLineisActive 在接口中 CustomCommandLinecommandLine - The command-line optionspublic String getId()
CustomCommandLinegetId 在接口中 CustomCommandLinepublic void addRunOptions(org.apache.commons.cli.Options baseOptions)
CustomCommandLineaddRunOptions 在接口中 CustomCommandLinebaseOptions - The existing options.public void addGeneralOptions(org.apache.commons.cli.Options baseOptions)
CustomCommandLineaddGeneralOptions 在接口中 CustomCommandLinebaseOptions - The existing options.public org.apache.flink.configuration.Configuration applyCommandLineOptionsToConfiguration(org.apache.commons.cli.CommandLine commandLine)
CustomCommandLineapplyCommandLineOptionsToConfiguration 在接口中 CustomCommandLinecommandLine - containing the overriding valuesCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.