public enum PersistTaskStage extends java.lang.Enum<PersistTaskStage>
Enum Constant and Description |
---|
COMMITTING
Task is notifying committer about changes
|
EXECUTING
Task is being applied to configs directory
|
FINISHED
Task is finished
|
PREPARE
From the moment the task was created till the moment the task is marked as complete
|
WAIT_FOR_SAVE
Task is complete and waiting to be executed
|
Modifier and Type | Method and Description |
---|---|
static PersistTaskStage |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PersistTaskStage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PersistTaskStage PREPARE
public static final PersistTaskStage WAIT_FOR_SAVE
public static final PersistTaskStage EXECUTING
public static final PersistTaskStage COMMITTING
public static final PersistTaskStage FINISHED
public static PersistTaskStage[] values()
for (PersistTaskStage c : PersistTaskStage.values()) System.out.println(c);
public static PersistTaskStage 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 null