Package fr.gouv.vitam.common.model
Enum LifeCycleStatusCode
- java.lang.Object
-
- java.lang.Enum<LifeCycleStatusCode>
-
- fr.gouv.vitam.common.model.LifeCycleStatusCode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LifeCycleStatusCode>
public enum LifeCycleStatusCode extends java.lang.Enum<LifeCycleStatusCode>
Enum StatusCode different constants status code for workflow , action handler and process
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LIFE_CYCLE_COMMITTED
LIFE_CYCLE_COMMITTED : indicates that the lifeCycle has been committedLIFE_CYCLE_IN_PROCESS
LIFE_CYCLE_IN_PROCESS : indicates that the lifeCycle hasn't been committed yet
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LifeCycleStatusCode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LifeCycleStatusCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LIFE_CYCLE_COMMITTED
public static final LifeCycleStatusCode LIFE_CYCLE_COMMITTED
LIFE_CYCLE_COMMITTED : indicates that the lifeCycle has been committed
-
LIFE_CYCLE_IN_PROCESS
public static final LifeCycleStatusCode LIFE_CYCLE_IN_PROCESS
LIFE_CYCLE_IN_PROCESS : indicates that the lifeCycle hasn't been committed yet
-
-
Method Detail
-
values
public static LifeCycleStatusCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LifeCycleStatusCode c : LifeCycleStatusCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LifeCycleStatusCode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-