Enum InstallLevel
- java.lang.Object
-
- java.lang.Enum<InstallLevel>
-
- com.opencloud.rhino.management.deployment.InstallLevel
-
- All Implemented Interfaces:
Serializable
,Comparable<InstallLevel>
public enum InstallLevel extends Enum<InstallLevel>
Enum constants identifying the install level of a deployable unit or SLEE component.
- Since:
- Rhino 2.4.0
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
INSTALLED
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.
-
VERIFIED
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.
-
DEPLOYED
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.
-
-
Method Detail
-
values
public static InstallLevel[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (InstallLevel c : InstallLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InstallLevel valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
implies
public 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 bothINSTALLED
andVERIFIED
while theVERIFIED
level impliesINSTALLED
. An install level always implies itself.- Parameters:
installLevel
- the install level to compare this to.- Returns:
true
if this install level impliesinstallLevel
,false
otherwise.
-
-