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(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() |
SavepointRestoreSettings |
getSavepointRestoreSettings() |
boolean |
isShutdownOnAttachedExit() |
void |
validate() |
isPrintHelp
protected String entryPointClass
protected ProgramOptions(org.apache.commons.cli.CommandLine line) throws CliArgsException
CliArgsException
protected String[] extractProgramArgs(org.apache.commons.cli.CommandLine line)
public void validate() throws CliArgsException
CliArgsException
public String getJarFilePath()
public String getEntryPointClassName()
public String[] getProgramArgs()
public int getParallelism()
public boolean getDetachedMode()
public boolean isShutdownOnAttachedExit()
public SavepointRestoreSettings getSavepointRestoreSettings()
public void applyToConfiguration(Configuration configuration)
public static ProgramOptions create(org.apache.commons.cli.CommandLine line) throws CliArgsException
CliArgsException
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.