public class ProgramOptions extends CommandLineOptions
| Modifier and Type | Field and Description |
|---|---|
protected String |
entryPointClass |
| Modifier | Constructor and Description |
|---|---|
protected |
ProgramOptions(org.apache.commons.cli.CommandLine line) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyToConfiguration(org.apache.flink.configuration.Configuration configuration) |
static ProgramOptions |
create(org.apache.commons.cli.CommandLine line) |
protected String[] |
extractProgramArgs(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 |
isShutdownOnAttachedExit() |
void |
validate() |
isPrintHelpprotected String entryPointClass
protected ProgramOptions(org.apache.commons.cli.CommandLine line)
throws CliArgsException
CliArgsExceptionprotected String[] extractProgramArgs(org.apache.commons.cli.CommandLine line)
public void validate()
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 void applyToConfiguration(org.apache.flink.configuration.Configuration configuration)
public static ProgramOptions create(org.apache.commons.cli.CommandLine line) throws CliArgsException
CliArgsExceptionCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.