public static enum SoftwareUpgrade.Status extends Enum<SoftwareUpgrade.Status>
Enum Constant and Description |
---|
FAILURE
Indicates an aborted upgrade.
|
SUCCESS
Indicates a successfully completed upgrade.
|
Modifier and Type | Method and Description |
---|---|
static SoftwareUpgrade.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SoftwareUpgrade.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoftwareUpgrade.Status SUCCESS
public static final SoftwareUpgrade.Status FAILURE
public static SoftwareUpgrade.Status[] values()
for (SoftwareUpgrade.Status c : SoftwareUpgrade.Status.values()) System.out.println(c);
public static SoftwareUpgrade.Status 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 null