public enum InstallLevel extends Enum<InstallLevel>
Enum constants identifying the install level of a deployable unit or SLEE component.
| Enum Constant and Description |
|---|
DEPLOYED
Enum constant representing a completed install level.
|
INSTALLED
Enum constant representing the most basic install level.
|
VERIFIED
Enum constant representing the intermediate install level.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
implies(InstallLevel installLevel)
Determine if this install level implies the specified install level has been reached or passed.
|
static InstallLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InstallLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InstallLevel INSTALLED
Enum constant representing the most basic install level. An INSTALLED component exists in the SLEE but has not been verified as legal.
public static final InstallLevel VERIFIED
Enum constant representing the intermediate install level. A VERIFIED component has been determined as legal, eg. component references have been checked and any classes referenced in the deployment descriptor have been verified as necessary, but the component is not yet deployed to the runtime subsystem.
public static final InstallLevel DEPLOYED
Enum constant representing a completed install level. A DEPLOYED component has been verified and deployed to the runtime subsystem and is ready for use in services, resource adaptors, profile tables, etc.
public static InstallLevel[] values()
for (InstallLevel c : InstallLevel.values()) System.out.println(c);
public static InstallLevel valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic boolean implies(InstallLevel installLevel)
Determine if this install level implies the specified install level has been reached or passed.
For example, the DEPLOYED install level implies both INSTALLED and VERIFIED while the VERIFIED level implies INSTALLED. An install level always implies itself.
installLevel - the install level to compare this to.true if this install level implies installLevel, false otherwise.