java.lang.Objectcom.install4j.api.context.UninstallMode
public class UninstallMode
Enumeration class that represents the different ways how install4j can handle the uninstallation of a file.
FileOptions
Field Summary | |
---|---|
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. |
Method Summary | |
---|---|
static UninstallMode |
getFromIntValue(int uninstall)
Convert int value to constant. |
int |
getIntValue()
Convert to an int value. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
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
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public int getIntValue()
public static UninstallMode getFromIntValue(int uninstall)
uninstall
- the int value