Enum DocumentRouteElement.ElementLifeCycleTransistion
- java.lang.Object
-
- java.lang.Enum<DocumentRouteElement.ElementLifeCycleTransistion>
-
- org.nuxeo.ecm.platform.routing.api.DocumentRouteElement.ElementLifeCycleTransistion
-
- All Implemented Interfaces:
Serializable
,Comparable<DocumentRouteElement.ElementLifeCycleTransistion>
- Enclosing interface:
- DocumentRouteElement
public static enum DocumentRouteElement.ElementLifeCycleTransistion extends Enum<DocumentRouteElement.ElementLifeCycleTransistion>
The transition of the lifecycle state.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description backToReady
toCanceled
toDone
toDraft
toReady
toRunning
toValidated
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DocumentRouteElement.ElementLifeCycleTransistion
valueOf(String name)
Returns the enum constant of this type with the specified name.static DocumentRouteElement.ElementLifeCycleTransistion[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
toValidated
public static final DocumentRouteElement.ElementLifeCycleTransistion toValidated
-
toReady
public static final DocumentRouteElement.ElementLifeCycleTransistion toReady
-
toRunning
public static final DocumentRouteElement.ElementLifeCycleTransistion toRunning
-
toDone
public static final DocumentRouteElement.ElementLifeCycleTransistion toDone
-
backToReady
public static final DocumentRouteElement.ElementLifeCycleTransistion backToReady
-
toCanceled
public static final DocumentRouteElement.ElementLifeCycleTransistion toCanceled
-
toDraft
public static final DocumentRouteElement.ElementLifeCycleTransistion toDraft
-
-
Method Detail
-
values
public static DocumentRouteElement.ElementLifeCycleTransistion[] 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.ElementLifeCycleTransistion c : DocumentRouteElement.ElementLifeCycleTransistion.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.ElementLifeCycleTransistion 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
-
-