public enum NonOperationalReason extends Enum<NonOperationalReason>
Enum Constant and Description |
---|
CPU_TYPE_INCOMPATIBLE_WITH_CLUSTER |
GENERAL |
KVM_NOT_RUNNING |
NETWORK_UNREACHABLE |
NONE |
STORAGE_DOMAIN_UNREACHABLE |
TIMEOUT_RECOVERING_FROM_CRASH |
VERSION_INCOMPATIBLE_WITH_CLUSTER |
Modifier and Type | Method and Description |
---|---|
static NonOperationalReason |
forValue(int value) |
int |
getValue() |
static NonOperationalReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NonOperationalReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NonOperationalReason NONE
public static final NonOperationalReason GENERAL
public static final NonOperationalReason CPU_TYPE_INCOMPATIBLE_WITH_CLUSTER
public static final NonOperationalReason STORAGE_DOMAIN_UNREACHABLE
public static final NonOperationalReason NETWORK_UNREACHABLE
public static final NonOperationalReason VERSION_INCOMPATIBLE_WITH_CLUSTER
public static final NonOperationalReason KVM_NOT_RUNNING
public static final NonOperationalReason TIMEOUT_RECOVERING_FROM_CRASH
public static NonOperationalReason[] values()
for (NonOperationalReason c : NonOperationalReason.values()) System.out.println(c);
public static NonOperationalReason 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 int getValue()
public static NonOperationalReason forValue(int value)
Copyright © 2012. All Rights Reserved.