Package fr.gouv.vitam.common.model
Enum Class ProcessAction
- All Implemented Interfaces:
Serializable
,Comparable<ProcessAction>
,Constable
Enum of process workflow execution mode
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ProcessAction
getProcessAction
(String value) Returns Enum from valuegetValue()
static ProcessAction
Returns the enum constant of this class with the specified name.static ProcessAction[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INIT
initial execution mode for process workflow -
NEXT
execute only next step -
RESUME
resume execution mode (all step will be executed) -
PAUSE
pause execution mode -
REPLAY
execute one more time last executed step -
START
start execution mode for process workflow
-
-
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 nameNullPointerException
- if the argument is null
-
getValue
- Returns:
- value of process workflow in String format
-
getProcessAction
Returns Enum from value- Parameters:
value
- of process workflow in String format- Returns:
- ProcessAction
-