public class ProgramOptions extends CommandLineOptions
| 构造器和说明 |
|---|
ProgramOptions(org.apache.commons.cli.CommandLine line) |
| 限定符和类型 | 方法和说明 |
|---|---|
List<URL> |
getClasspaths() |
boolean |
getDetachedMode() |
String |
getEntryPointClassName() |
String |
getJarFilePath() |
int |
getParallelism() |
String[] |
getProgramArgs() |
org.apache.flink.runtime.jobgraph.SavepointRestoreSettings |
getSavepointRestoreSettings() |
boolean |
isPython()
Indicates whether the job is a Python job.
|
boolean |
isShutdownOnAttachedExit() |
isPrintHelppublic ProgramOptions(org.apache.commons.cli.CommandLine line)
throws CliArgsException
CliArgsExceptionpublic String getJarFilePath()
public String getEntryPointClassName()
public String[] getProgramArgs()
public int getParallelism()
public boolean getDetachedMode()
public boolean isShutdownOnAttachedExit()
public org.apache.flink.runtime.jobgraph.SavepointRestoreSettings getSavepointRestoreSettings()
public boolean isPython()
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.