| java.lang.Object com.izforge.izpack.CustomData
CustomData | public class CustomData implements Serializable(Code) | | Container for serialized custom data.
author: Klaus Bartz |
INSTALLER_LISTENER | final public static int INSTALLER_LISTENER(Code) | | Identifier for custom data type "installer listener".
|
UNINSTALLER_JAR | final public static int UNINSTALLER_JAR(Code) | | Identifier for custom data typ "uninstaller jar files".
|
UNINSTALLER_LIB | final public static int UNINSTALLER_LIB(Code) | | Identifier for custom data typ "uninstaller lib". This is used for binary libs (DLLs or SHLs
or SOs or ...) which will be needed from the uninstaller.
|
UNINSTALLER_LISTENER | final public static int UNINSTALLER_LISTENER(Code) | | Identifier for custom data typ "uninstaller listener".
|
contents | public List<String> contents(Code) | | The contens of the managed custom data. If it is a listener or a uninstaller jar, all
contained files are listed with it complete sub path. If it is a uninstaller native library,
this value is the path in the installer jar.
|
listenerName | public String listenerName(Code) | | Full qualified name of the managed listener. If type is not a listener, this value is
undefined.
|
serialVersionUID | final static long serialVersionUID(Code) | | |
type | public int type(Code) | | Type of this custom action data; possible are INSTALLER_LISTENER, UNINSTALLER_LISTENER,
UNINSTALLER_LIB and UNINSTALLER_JAR.
|
CustomData | public CustomData(String listenerName, List<String> contents, List<OsConstraint> osConstraints, int type)(Code) | | Constructs an CustomData object with the needed values. If a listener will be managed with
this object, the full qualified name of the listener self must be set as listener name. If a
listener or a jar file for uninstall will be managed, all needed files (class, properties and
so on) must be referenced in the contents with the path which they have in the installer jar
file.
Parameters: listenerName - path of the listener Parameters: contents - also needed objects referenced with the path in install.jar Parameters: osConstraints - target operation system of this custom action Parameters: type - type of this custom data |
|
|