public class UninstallMode
extends java.lang.Object
implements java.io.Serializable
FileOptions
,
Serialized FormModifier and Type | Field and Description |
---|---|
static UninstallMode |
ALWAYS
Indicates that the uninstaller will always delete this file.
|
static UninstallMode |
ALWAYS_BUT_NOT_FOR_UPDATE
Indicates that the destination file won't be deleted when the uninstaller runs as part of an update.
|
static UninstallMode |
IF_CREATED
Indicates that if the destination file was created by the installer it will be deleted for uninstallation.
|
static UninstallMode |
IF_CREATED_BUT_NOT_FOR_UPDATE
Indicates that the destination file won't be deleted when the uninstaller runs as part of an update.
|
static UninstallMode |
NEVER
Indicates that the destination file won't be deleted for uninstallation.
|
Modifier and Type | Method and Description |
---|---|
static UninstallMode |
getFromIntValue(int uninstall)
Convert int value to constant.
|
int |
getIntValue()
Convert to an int value.
|
java.lang.String |
toString() |
public static final UninstallMode IF_CREATED
public static final UninstallMode NEVER
public static final UninstallMode ALWAYS
public static final UninstallMode IF_CREATED_BUT_NOT_FOR_UPDATE
public static final UninstallMode ALWAYS_BUT_NOT_FOR_UPDATE
public java.lang.String toString()
toString
in class java.lang.Object
public int getIntValue()
public static UninstallMode getFromIntValue(int uninstall)
uninstall
- the int value