public static enum FeatureUpdate.UpgradeType extends Enum<FeatureUpdate.UpgradeType>
| Enum Constant and Description |
|---|
SAFE_DOWNGRADE |
UNKNOWN |
UNSAFE_DOWNGRADE |
UPGRADE |
| Modifier and Type | Method and Description |
|---|---|
byte | code() |
static FeatureUpdate.UpgradeType | fromCode(int code) |
static FeatureUpdate.UpgradeType | valueOf(String name)Returns the enum constant of this type with the specified name. |
static FeatureUpdate.UpgradeType[] | values()Returns an array containing the constants of this enum type, in the order they are declared. |
public static final FeatureUpdate.UpgradeType UNKNOWN
public static final FeatureUpdate.UpgradeType UPGRADE
public static final FeatureUpdate.UpgradeType SAFE_DOWNGRADE
public static final FeatureUpdate.UpgradeType UNSAFE_DOWNGRADE
public static FeatureUpdate.UpgradeType[] values()
for (FeatureUpdate.UpgradeType c : FeatureUpdate.UpgradeType.values()) System.out.println(c);
public static FeatureUpdate.UpgradeType 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 byte code()
public static FeatureUpdate.UpgradeType fromCode(int code)