public class DefaultCLI extends AbstractCustomCommandLine
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
ID |
addressOption, configuration, zookeeperNamespaceOption| 构造器和说明 |
|---|
DefaultCLI(org.apache.flink.configuration.Configuration configuration) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addGeneralOptions(org.apache.commons.cli.Options baseOptions)
Adds custom options to the existing general 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.
|
addRunOptions, applyCommandLineOptionsToConfiguration, getConfiguration, handleCliArgsException, handleError, printUsageclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitparseCommandLineOptionspublic boolean isActive(org.apache.commons.cli.CommandLine commandLine)
CustomCommandLinecommandLine - The command-line optionspublic String getId()
CustomCommandLinepublic void addGeneralOptions(org.apache.commons.cli.Options baseOptions)
CustomCommandLineaddGeneralOptions 在接口中 CustomCommandLineaddGeneralOptions 在类中 AbstractCustomCommandLinebaseOptions - The existing options.Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.