| java.lang.Object com.izforge.izpack.ExecutableFile
ExecutableFile | public class ExecutableFile implements Serializable(Code) | | Encloses information about a executable file. This class abstracts the way to do a system
dependent postprocessing of installation.
author: Olexij Tkatchenko |
Constructor Summary | |
public | ExecutableFile() Constructs a new uninitialized instance. | public | ExecutableFile(String path, int executionStage, int onFailure, List<OsConstraint> osList, boolean keepFile) Constructs and initializes a new instance. | public | ExecutableFile(String path, int type, String mainClass, int executionStage, int onFailure, List<String> argList, List<OsConstraint> osList, boolean keepFile) |
ABORT | final public static int ABORT(Code) | | what to do if execution fails
|
ASK | final public static int ASK(Code) | | |
BIN | final public static int BIN(Code) | | type of a file
|
IGNORE | final public static int IGNORE(Code) | | |
JAR | final public static int JAR(Code) | | |
NEVER | final public static int NEVER(Code) | | |
POSTINSTALL | final public static int POSTINSTALL(Code) | | when to execute this file
|
UNINSTALL | final public static int UNINSTALL(Code) | | |
WARN | final public static int WARN(Code) | | |
executionStage | public int executionStage(Code) | | Execution stage (NEVER, POSTINSTALL, UNINSTALL)
|
keepFile | public boolean keepFile(Code) | | Indicates the file should be kept after executing. Default is false for backward
compatibility.
|
mainClass | public String mainClass(Code) | | Main class of jar file
|
onFailure | public int onFailure(Code) | | Failure handling (ABORT, WARN, ASK)
|
serialVersionUID | final static long serialVersionUID(Code) | | |
type | public int type(Code) | | type (BIN|JAR)
|
ExecutableFile | public ExecutableFile()(Code) | | Constructs a new uninitialized instance.
|
ExecutableFile | public ExecutableFile(String path, int executionStage, int onFailure, List<OsConstraint> osList, boolean keepFile)(Code) | | Constructs and initializes a new instance.
Parameters: path - the file path Parameters: executionStage - when to execute Parameters: onFailure - what to do if execution fails Parameters: osList - list of operating systems to run on |
getCondition | public String getCondition()(Code) | | the condition |
hasCondition | public boolean hasCondition()(Code) | | |
setCondition | public void setCondition(String condition)(Code) | | Parameters: condition - the condition to set |
|
|