public static enum StoragePoolInfo.StoragePoolState extends java.lang.Enum<StoragePoolInfo.StoragePoolState>
Enum Constant and Description |
---|
VIR_STORAGE_POOL_BUILDING
Initializing pool, not available
|
VIR_STORAGE_POOL_DEGRADED
Running degraded
|
VIR_STORAGE_POOL_INACTIVE
Not running
|
VIR_STORAGE_POOL_RUNNING
Running normally
|
Modifier and Type | Method and Description |
---|---|
static StoragePoolInfo.StoragePoolState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StoragePoolInfo.StoragePoolState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StoragePoolInfo.StoragePoolState VIR_STORAGE_POOL_INACTIVE
public static final StoragePoolInfo.StoragePoolState VIR_STORAGE_POOL_BUILDING
public static final StoragePoolInfo.StoragePoolState VIR_STORAGE_POOL_RUNNING
public static final StoragePoolInfo.StoragePoolState VIR_STORAGE_POOL_DEGRADED
public static StoragePoolInfo.StoragePoolState[] values()
for (StoragePoolInfo.StoragePoolState c : StoragePoolInfo.StoragePoolState.values()) System.out.println(c);
public static StoragePoolInfo.StoragePoolState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null