public enum UninstallMode extends java.lang.Enum<UninstallMode>
FileOptions
Enum Constant and Description |
---|
ALWAYS
Indicates that the uninstaller will always delete this file.
|
ALWAYS_BUT_NOT_FOR_UPDATE
Indicates that the destination file won't be deleted when the uninstaller runs as part of an update.
|
IF_CREATED
Indicates that if the destination file was created by the installer it will be deleted for uninstallation.
|
IF_CREATED_BUT_NOT_FOR_UPDATE
Indicates that the destination file won't be deleted when the uninstaller runs as part of an update.
|
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() |
static UninstallMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UninstallMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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
IF_CREATED
.public static final UninstallMode ALWAYS_BUT_NOT_FOR_UPDATE
ALWAYS
.public static UninstallMode[] values()
for (UninstallMode c : UninstallMode.values()) System.out.println(c);
public static UninstallMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static UninstallMode getFromIntValue(int uninstall)
uninstall
- the int valuepublic java.lang.String toString()
toString
in class java.lang.Enum<UninstallMode>
public int getIntValue()