public enum InstallLevel extends Enum<InstallLevel>
| 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
public static final InstallLevel VERIFIED
public static final InstallLevel DEPLOYED
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)
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.