public enum PauseOrCancelAction extends Enum<PauseOrCancelAction>
Enum Constant and Description |
---|
ACTION_CANCEL
When the cancel occurs, the current step will be marked as ACTION_CANCEL
|
ACTION_COMPLETE
When the step is finished without pause nor cancel, the current step will be marked as ACTION_COMPLETE
|
ACTION_PAUSE
When the pause occurs, the current step will be marked as ACTION_PAUSE
|
ACTION_RECOVER
When the step was ACTION_PAUSE, after restart the step will be marked as ACTION_RECOVER
|
ACTION_REPLAY
When the replay occurs, the current step will be marked as ACTION_REPLAY, so it could be replayed
|
ACTION_RUN
The default PauseOrCancelAction
|
Modifier and Type | Method and Description |
---|---|
static PauseOrCancelAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PauseOrCancelAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PauseOrCancelAction ACTION_RUN
public static final PauseOrCancelAction ACTION_RECOVER
public static final PauseOrCancelAction ACTION_REPLAY
public static final PauseOrCancelAction ACTION_PAUSE
public static final PauseOrCancelAction ACTION_CANCEL
public static final PauseOrCancelAction ACTION_COMPLETE
public static PauseOrCancelAction[] values()
for (PauseOrCancelAction c : PauseOrCancelAction.values()) System.out.println(c);
public static PauseOrCancelAction 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 © 2018 Vitam. All rights reserved.