public static enum InstallContext.Phase extends java.lang.Enum<InstallContext.Phase>
Enum Constant and Description |
---|
END
Specifies that the hook is going to be discarded.
|
INSTALL_FAILED
Specifies that the package installation failed and the hooks can
do some cleanup work.
|
INSTALLED
Specifies that the package was successfully installed and the hooks
can do some post-installation work and cleanup.
|
PREPARE
Specifies that the package is not yet installed and the hooks can
do some pre-installation work
|
PREPARE_FAILED
Specifies that the prepare phase failed and the hocks can do some
cleanup work.
|
Modifier and Type | Method and Description |
---|---|
static InstallContext.Phase |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InstallContext.Phase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InstallContext.Phase PREPARE
public static final InstallContext.Phase PREPARE_FAILED
public static final InstallContext.Phase INSTALLED
public static final InstallContext.Phase INSTALL_FAILED
public static final InstallContext.Phase END
public static InstallContext.Phase[] values()
for (InstallContext.Phase c : InstallContext.Phase.values()) System.out.println(c);
public static InstallContext.Phase 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 nullCopyright © 2010 - 2020 Adobe. All Rights Reserved