public static enum RiakNode.State extends Enum<RiakNode.State>
Enum Constant and Description |
---|
CREATED |
HEALTH_CHECKING |
RUNNING |
SHUTDOWN |
SHUTTING_DOWN |
Modifier and Type | Method and Description |
---|---|
static RiakNode.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RiakNode.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RiakNode.State CREATED
public static final RiakNode.State RUNNING
public static final RiakNode.State HEALTH_CHECKING
public static final RiakNode.State SHUTTING_DOWN
public static final RiakNode.State SHUTDOWN
public static RiakNode.State[] values()
for (RiakNode.State c : RiakNode.State.values()) System.out.println(c);
public static RiakNode.State 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 © 2014. All rights reserved.