public enum ActionStatus extends Enum<ActionStatus>
Enum Constant and Description |
---|
COMPLETED
The state of the action once it completes successfully
|
CREATED
The state of the action when it gets created
|
ERROR
The state of the action if it fails executing
|
STARTED
The state of the action once it is invoked
|
Modifier and Type | Method and Description |
---|---|
static ActionStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ActionStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActionStatus CREATED
public static final ActionStatus STARTED
public static final ActionStatus COMPLETED
public static final ActionStatus ERROR
public static ActionStatus[] values()
for (ActionStatus c : ActionStatus.values()) System.out.println(c);
public static ActionStatus 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 © 2019 CorfuDB. All rights reserved.