public static enum StoragePool.State extends Enum<StoragePool.State>
Enum Constant and Description |
---|
CANCEL_MAINTENANCE |
ERROR_IN_MAINTENANCE |
MAINTENANCE |
PREPARE_FOR_MAINTENANCE |
REMOVED |
UNRECOGNIZED |
UP |
Modifier and Type | Method and Description |
---|---|
static StoragePool.State |
fromValue(String type) |
String |
toString() |
static StoragePool.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StoragePool.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StoragePool.State UP
public static final StoragePool.State PREPARE_FOR_MAINTENANCE
public static final StoragePool.State ERROR_IN_MAINTENANCE
public static final StoragePool.State CANCEL_MAINTENANCE
public static final StoragePool.State MAINTENANCE
public static final StoragePool.State REMOVED
public static final StoragePool.State UNRECOGNIZED
public static StoragePool.State[] values()
for (StoragePool.State c : StoragePool.State.values()) System.out.println(c);
public static StoragePool.State 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 String toString()
toString
in class Enum<StoragePool.State>
public static StoragePool.State fromValue(String type)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.