Package org.lorislab.p6.process.model
Enum Type
- java.lang.Object
-
- java.lang.Enum<Type>
-
- org.lorislab.p6.process.model.Type
-
- All Implemented Interfaces:
Serializable,Comparable<Type>
public enum Type extends Enum<Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CALL_ACTIVITYEND_EVENTEXCLUSIVE_GATEWAYINCLUSIVE_GATEWAYPARALLEL_GATEWAYSCRIPT_TASKSERVICE_TASKSTART_EVENT
-
Field Summary
Fields Modifier and Type Field Description static StringTYPE_CALL_ACTIVITYstatic StringTYPE_END_EVENTstatic StringTYPE_EXCLUSIVE_GATEWAYstatic StringTYPE_INCLUSIVE_GATEWAYstatic StringTYPE_PARALLEL_GATEWAYstatic StringTYPE_SCRIPT_TASKstatic StringTYPE_SERVICE_TASKstatic StringTYPE_START_EVENT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TypevalueOf(String name)Returns the enum constant of this type with the specified name.static Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SCRIPT_TASK
public static final Type SCRIPT_TASK
-
END_EVENT
public static final Type END_EVENT
-
START_EVENT
public static final Type START_EVENT
-
SERVICE_TASK
public static final Type SERVICE_TASK
-
EXCLUSIVE_GATEWAY
public static final Type EXCLUSIVE_GATEWAY
-
INCLUSIVE_GATEWAY
public static final Type INCLUSIVE_GATEWAY
-
PARALLEL_GATEWAY
public static final Type PARALLEL_GATEWAY
-
CALL_ACTIVITY
public static final Type CALL_ACTIVITY
-
-
Field Detail
-
TYPE_SCRIPT_TASK
public static final String TYPE_SCRIPT_TASK
- See Also:
- Constant Field Values
-
TYPE_END_EVENT
public static final String TYPE_END_EVENT
- See Also:
- Constant Field Values
-
TYPE_START_EVENT
public static final String TYPE_START_EVENT
- See Also:
- Constant Field Values
-
TYPE_SERVICE_TASK
public static final String TYPE_SERVICE_TASK
- See Also:
- Constant Field Values
-
TYPE_EXCLUSIVE_GATEWAY
public static final String TYPE_EXCLUSIVE_GATEWAY
- See Also:
- Constant Field Values
-
TYPE_INCLUSIVE_GATEWAY
public static final String TYPE_INCLUSIVE_GATEWAY
- See Also:
- Constant Field Values
-
TYPE_PARALLEL_GATEWAY
public static final String TYPE_PARALLEL_GATEWAY
- See Also:
- Constant Field Values
-
TYPE_CALL_ACTIVITY
public static final String TYPE_CALL_ACTIVITY
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static 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 (Type c : 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 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
-
-