|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.izforge.izpack.ExecutableFile
public class ExecutableFile
Encloses information about a executable file. This class abstracts the way to do a system dependent postprocessing of installation.
Field Summary | |
---|---|
static int |
ABORT
what to do if execution fails |
java.util.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. |
java.lang.String |
mainClass
Main class of jar file |
static int |
NEVER
|
int |
onFailure
Failure handling (ABORT, WARN, ASK) |
java.util.List |
osList
List of operating systems to run on |
java.lang.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 Summary | |
---|---|
ExecutableFile()
Constructs a new uninitialized instance. |
|
ExecutableFile(java.lang.String path,
int executionStage,
int onFailure,
java.util.List osList,
boolean keepFile)
Constructs and initializes a new instance. |
|
ExecutableFile(java.lang.String path,
int type,
java.lang.String mainClass,
int executionStage,
int onFailure,
java.util.List argList,
java.util.List osList,
boolean keepFile)
|
Method Summary | |
---|---|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
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 java.lang.String path
public int executionStage
public java.lang.String mainClass
public int type
public int onFailure
public java.util.List argList
public java.util.List osList
public boolean keepFile
Constructor Detail |
---|
public ExecutableFile()
public ExecutableFile(java.lang.String path, int executionStage, int onFailure, java.util.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(java.lang.String path, int type, java.lang.String mainClass, int executionStage, int onFailure, java.util.List argList, java.util.List osList, boolean keepFile)
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |