public class ExecutableFile extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static int |
ABORT
what to do if execution fails
|
List<String> |
argList
List of arguments
|
static int |
ASK |
static int |
BIN
type of a file
|
int |
executionStage
Execution stage (NEVER, POSTINSTALL, UNINSTALL)
|
static int |
IGNORE |
static int |
JAR |
boolean |
keepFile
Indicates the file should be kept after executing.
|
String |
mainClass
Main class of jar file
|
static int |
NEVER |
int |
onFailure
Failure handling (ABORT, WARN, ASK)
|
List<OsModel> |
osList
List of operating systems to run on
|
String |
path
The file path
|
static int |
POSTINSTALL
when to execute this file
|
int |
type
type (BIN|JAR)
|
static int |
UNINSTALL |
static int |
WARN |
| Constructor and Description |
|---|
ExecutableFile()
Constructs a new uninitialized instance.
|
ExecutableFile(String path,
int executionStage,
int onFailure,
List<OsModel> osList,
boolean keepFile)
Constructs and initializes a new instance.
|
ExecutableFile(String path,
int type,
String mainClass,
int executionStage,
int onFailure,
List<String> argList,
List<OsModel> osList,
boolean keepFile) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCondition() |
boolean |
hasCondition() |
void |
setCondition(String condition) |
String |
toString() |
public static final int POSTINSTALL
public static final int NEVER
public static final int UNINSTALL
public static final int BIN
public static final int JAR
public static final int ABORT
public static final int WARN
public static final int ASK
public static final int IGNORE
public String path
public int executionStage
public String mainClass
public int type
public int onFailure
public boolean keepFile
public ExecutableFile()
public ExecutableFile(String path, int executionStage, int onFailure, List<OsModel> osList, boolean keepFile)
path - the file pathexecutionStage - when to executeonFailure - what to do if execution failsosList - list of operating systems to run onCopyright © 2001–2025. All rights reserved.