public enum NodeStatus extends Enum<NodeStatus>
Enum Constant and Description |
---|
NODE_DOWN The node is down |
NODE_HOT_STANDBY The node is paused |
NODE_UP The node is up |
Modifier and Type | Method and Description |
---|---|
static NodeStatus | valueOf(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 NODE_UP
public static final NodeStatus NODE_DOWN
public static final NodeStatus NODE_HOT_STANDBY
public static NodeStatus[] values()
for (NodeStatus c : NodeStatus.values()) System.out.println(c);
public static NodeStatus 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 nullCopyright © 2015 JBoss by Red Hat. All rights reserved.