@InterfaceAudience.Public public enum ProcedureState extends Enum<ProcedureState>
| Enum Constant and Description |
|---|
FAILED |
INITIALIZING |
ROLLEDBACK |
RUNNABLE |
SUCCESS |
WAITING |
WAITING_TIMEOUT |
| Modifier and Type | Method and Description |
|---|---|
static ProcedureState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProcedureState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProcedureState INITIALIZING
public static final ProcedureState RUNNABLE
public static final ProcedureState WAITING
public static final ProcedureState WAITING_TIMEOUT
public static final ProcedureState ROLLEDBACK
public static final ProcedureState SUCCESS
public static final ProcedureState FAILED
public static ProcedureState[] values()
for (ProcedureState c : ProcedureState.values()) System.out.println(c);
public static ProcedureState 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 © 2007–2018 The Apache Software Foundation. All rights reserved.