public enum vdev_state_t extends Enum<vdev_state_t>
| Enum Constant and Description |
|---|
VDEV_STATE_CANT_OPEN |
VDEV_STATE_CLOSED |
VDEV_STATE_DEGRADED |
VDEV_STATE_FAULTED |
VDEV_STATE_HEALTHY |
VDEV_STATE_OFFLINE |
VDEV_STATE_REMOVED |
VDEV_STATE_UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static vdev_state_t |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static vdev_state_t[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final vdev_state_t VDEV_STATE_UNKNOWN
public static final vdev_state_t VDEV_STATE_CLOSED
public static final vdev_state_t VDEV_STATE_OFFLINE
public static final vdev_state_t VDEV_STATE_REMOVED
public static final vdev_state_t VDEV_STATE_CANT_OPEN
public static final vdev_state_t VDEV_STATE_FAULTED
public static final vdev_state_t VDEV_STATE_DEGRADED
public static final vdev_state_t VDEV_STATE_HEALTHY
public static vdev_state_t[] values()
for (vdev_state_t c : vdev_state_t.values()) System.out.println(c);
public static vdev_state_t 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 nullCopyright © 2008–2017. All rights reserved.