@Beta public static enum UpgradeEvent.Type extends Enum<UpgradeEvent.Type>
| Enum Constant and Description | 
|---|
COMMITTED
Indicates that an upgrade was committed. 
 | 
INITIALIZED
Indicates that a new upgrade was initialized. 
 | 
RESET
Indicates that an upgrade was reset. 
 | 
ROLLED_BACK
Indicates that an upgrade was rolled back. 
 | 
UPGRADED
Indicates that mastership was reassigned to the upgraded cluster. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static UpgradeEvent.Type | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static UpgradeEvent.Type[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final UpgradeEvent.Type INITIALIZED
public static final UpgradeEvent.Type UPGRADED
public static final UpgradeEvent.Type COMMITTED
public static final UpgradeEvent.Type ROLLED_BACK
public static final UpgradeEvent.Type RESET
public static UpgradeEvent.Type[] values()
for (UpgradeEvent.Type c : UpgradeEvent.Type.values()) System.out.println(c);
public static UpgradeEvent.Type 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