public enum ActionState extends Enum<ActionState>
Enum Constant and Description |
---|
COMPLETED
State of successful completion
|
FAILED
Action failed to complete successfully
|
IN_PROGRESS
State when the Action is triggered on the cluster,
|
INIT
Initial state for the Action.
|
Modifier and Type | Method and Description |
---|---|
static ActionState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ActionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActionState INIT
public static final ActionState IN_PROGRESS
public static final ActionState COMPLETED
public static final ActionState FAILED
public static ActionState[] values()
for (ActionState c : ActionState.values()) System.out.println(c);
public static ActionState 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 © 2022 Apache Software Foundation. All rights reserved.