Enum Constant Summary
Enum Constants
When the cancel occurs, the current step will be marked as ACTION_CANCEL
When the step is finished without pause nor cancel, the current step will be marked as ACTION_COMPLETE
When the pause occurs, the current step will be marked as ACTION_PAUSE
When the step was ACTION_PAUSE, after restart the step will be marked as ACTION_RECOVER
When the replay occurs, the current step will be marked as ACTION_REPLAY, so it could be replayed
The default PauseOrCancelAction
Method Summary
All Methods Static Methods Concrete Methods
Returns the enum constant of this class with the specified name.
Returns an array containing the constants of this enum class, in
the order they are declared.
Methods inherited from class java.lang.Enum
clone , compareTo , describeConstable , equals , finalize , getDeclaringClass , hashCode , name , ordinal , toString , valueOf
Enum Constant Details
ACTION_RUN
The default PauseOrCancelAction
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_PAUSE
When the pause occurs, the current step will be marked as ACTION_PAUSE
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
Method Details
values
Returns an array containing the constants of this enum class, in
the order they are declared.
Returns:
an array containing the constants of this enum class, in the order they are declared
valueOf
Returns the enum constant of this class with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this class. (Extraneous whitespace characters are
not permitted.)
Parameters:
name
- the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException
- if this enum class has no constant with the specified name
NullPointerException
- if the argument is null