Package org.jbpm.simulation
Enum PathContext.Type
- java.lang.Object
-
- java.lang.Enum<PathContext.Type>
-
- org.jbpm.simulation.PathContext.Type
-
- All Implemented Interfaces:
Serializable,Comparable<PathContext.Type>
- Enclosing class:
- PathContext
public static enum PathContext.Type extends Enum<PathContext.Type>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PathContext.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static PathContext.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ROOT
public static final PathContext.Type ROOT
-
ACTIVE
public static final PathContext.Type ACTIVE
-
COMPLETED
public static final PathContext.Type COMPLETED
-
TEMP
public static final PathContext.Type TEMP
-
-
Method Detail
-
values
public static PathContext.Type[] 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 (PathContext.Type c : PathContext.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PathContext.Type 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
-
-