public class ExecutableFile extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static int |
ABORT
what to do if execution fails
|
List |
argList
List of arguments
|
static int |
ASK |
static int |
BIN
type of a file
|
int |
executionStage
Execution stage (NEVER, POSTINSTALL, UNINSTALL)
|
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 |
osList
List of operating systems to run on
|
String |
path
The file path
|
static int |
POSTINSTALL
when to execute this file
|
(package private) static long |
serialVersionUID |
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 osList,
boolean keepFile)
Constructs and initializes a new instance.
|
ExecutableFile(String path,
int type,
String mainClass,
int executionStage,
int onFailure,
List argList,
List osList,
boolean keepFile) |
static final long serialVersionUID
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 int executionStage
public int type
public int onFailure
public boolean keepFile
public ExecutableFile()
public ExecutableFile(String path, int executionStage, int onFailure, List osList, boolean keepFile)
path
- the file pathexecutionStage
- when to executeonFailure
- what to do if execution failsosList
- list of operating systems to run onpublic ExecutableFile(String path, int type, String mainClass, int executionStage, int onFailure, List argList, List osList, boolean keepFile)
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses