public static enum ZFSElement.State extends java.lang.Enum<ZFSElement.State>
Enum Constant and Description |
---|
AVAIL |
DEGRADED |
FAULTED |
INUSE |
OFFLINE |
ONLINE |
REMOVED |
UNAVAIL |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
static ZFSElement.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ZFSElement.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZFSElement.State AVAIL
public static final ZFSElement.State DEGRADED
public static final ZFSElement.State FAULTED
public static final ZFSElement.State OFFLINE
public static final ZFSElement.State ONLINE
public static final ZFSElement.State REMOVED
public static final ZFSElement.State UNAVAIL
public static final ZFSElement.State INUSE
public static ZFSElement.State[] values()
for (ZFSElement.State c : ZFSElement.State.values()) System.out.println(c);
public static ZFSElement.State 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 nullpublic java.lang.String toString()
toString
in class java.lang.Enum<ZFSElement.State>
Copyright © 2025. All Rights Reserved.