Enum DocumentRouteElement.ElementLifeCycleState
- java.lang.Object
-
- java.lang.Enum<DocumentRouteElement.ElementLifeCycleState>
-
- org.nuxeo.ecm.platform.routing.api.DocumentRouteElement.ElementLifeCycleState
-
- All Implemented Interfaces:
Serializable
,Comparable<DocumentRouteElement.ElementLifeCycleState>
- Enclosing interface:
- DocumentRouteElement
public static enum DocumentRouteElement.ElementLifeCycleState extends Enum<DocumentRouteElement.ElementLifeCycleState>
The lifecycle state of an element
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DocumentRouteElement.ElementLifeCycleState
valueOf(String name)
Returns the enum constant of this type with the specified name.static DocumentRouteElement.ElementLifeCycleState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
draft
public static final DocumentRouteElement.ElementLifeCycleState draft
-
validated
public static final DocumentRouteElement.ElementLifeCycleState validated
-
ready
public static final DocumentRouteElement.ElementLifeCycleState ready
-
running
public static final DocumentRouteElement.ElementLifeCycleState running
-
done
public static final DocumentRouteElement.ElementLifeCycleState done
-
canceled
public static final DocumentRouteElement.ElementLifeCycleState canceled
-
-
Method Detail
-
values
public static DocumentRouteElement.ElementLifeCycleState[] 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 (DocumentRouteElement.ElementLifeCycleState c : DocumentRouteElement.ElementLifeCycleState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DocumentRouteElement.ElementLifeCycleState valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-