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