public enum UpgradeState extends Enum<UpgradeState>
Enum Constant and Description |
---|
COMPLETE
Upgrade is complete
|
FAILED
Upgrade has failed
|
IN_PROGRESS
Upgrade is in progress
|
NONE
No upgrade is in progress.
|
VERSION_MISMATCH
Component reported unexpected/wrong version
|
Modifier and Type | Field and Description |
---|---|
static EnumSet<UpgradeState> |
VERSION_NON_ADVERTISED_STATES
States when new/correct version has not been yet advertised
|
Modifier and Type | Method and Description |
---|---|
static UpgradeState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UpgradeState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UpgradeState NONE
public static final UpgradeState COMPLETE
public static final UpgradeState IN_PROGRESS
public static final UpgradeState FAILED
public static final UpgradeState VERSION_MISMATCH
public static final EnumSet<UpgradeState> VERSION_NON_ADVERTISED_STATES
public static UpgradeState[] values()
for (UpgradeState c : UpgradeState.values()) System.out.println(c);
public static UpgradeState 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 nullCopyright © 2022 Apache Software Foundation. All rights reserved.