public enum NodeAction extends Enum<NodeAction>
Modifier and Type | Method and Description |
---|---|
static NodeAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NodeAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeAction NORMAL
public static final NodeAction RESYNC
public static final NodeAction SHUTDOWN
public static NodeAction[] values()
for (NodeAction c : NodeAction.values()) System.out.println(c);
public static NodeAction 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 © 2016 Apache Software Foundation. All Rights Reserved.