public enum NodeStatus extends java.lang.Enum<NodeStatus>
Enum Constant and Description |
---|
IGNORED
Node is shady one
|
OFFLINE
Node is offline
|
ONLINE
Node is up and running
|
Modifier and Type | Method and Description |
---|---|
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 ONLINE
public static final NodeStatus OFFLINE
public static final NodeStatus IGNORED
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 nullCopyright © 2019. All rights reserved.