public static enum CoordinatorState.State extends java.lang.Enum<CoordinatorState.State>
Enum Constant and Description |
---|
PREPARE_COMPLETE |
PREPARE_START |
REPAIR_COMPLETE |
REPAIR_START |
SETUP |
START |
Modifier and Type | Method and Description |
---|---|
static CoordinatorState.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CoordinatorState.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CoordinatorState.State SETUP
public static final CoordinatorState.State START
public static final CoordinatorState.State PREPARE_START
public static final CoordinatorState.State PREPARE_COMPLETE
public static final CoordinatorState.State REPAIR_START
public static final CoordinatorState.State REPAIR_COMPLETE
public static CoordinatorState.State[] values()
for (CoordinatorState.State c : CoordinatorState.State.values()) System.out.println(c);
public static CoordinatorState.State 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 © 2009-2022 The Apache Software Foundation