public static enum ClusterLinkDescription.LinkState extends Enum<ClusterLinkDescription.LinkState>
Enum Constant and Description |
---|
ACTIVE |
FAILED |
PAUSED |
UNAVAILABLE |
UNKNOWN |
UNMANAGED_SOURCE |
Modifier and Type | Method and Description |
---|---|
boolean |
available() |
static ClusterLinkDescription.LinkState |
fromShort(short x) |
short |
getValue() |
static ClusterLinkDescription.LinkState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClusterLinkDescription.LinkState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClusterLinkDescription.LinkState UNKNOWN
public static final ClusterLinkDescription.LinkState ACTIVE
public static final ClusterLinkDescription.LinkState FAILED
public static final ClusterLinkDescription.LinkState UNAVAILABLE
public static final ClusterLinkDescription.LinkState PAUSED
public static final ClusterLinkDescription.LinkState UNMANAGED_SOURCE
public static ClusterLinkDescription.LinkState[] values()
for (ClusterLinkDescription.LinkState c : ClusterLinkDescription.LinkState.values()) System.out.println(c);
public static ClusterLinkDescription.LinkState 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 short getValue()
public static ClusterLinkDescription.LinkState fromShort(short x)
public boolean available()