public enum NodeStatus extends java.lang.Enum<NodeStatus>
Enum Constant and Description |
---|
DOWN
Node is down.
|
UP
Node is up.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static NodeStatus |
rawValueOf(java.lang.String value)
Static constructor converting receipt type raw value to enum instance.
|
static NodeStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NodeStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeStatus UP
public static final NodeStatus DOWN
public static NodeStatus[] values()
for (NodeStatus c : NodeStatus.values()) System.out.println(c);
public static NodeStatus 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 getValue()
public static NodeStatus rawValueOf(java.lang.String value)
value
- the low level string value.NodeStatus