Enum NodeType
- java.lang.Object
-
- java.lang.Enum<NodeType>
-
- org.lorislab.p6.process.flow.model.NodeType
-
- All Implemented Interfaces:
Serializable,Comparable<NodeType>
public enum NodeType extends Enum<NodeType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CALL_ACTIVITYEND_EVENTEXCLUSIVE_GATEWAYINCLUSIVE_GATEWAYPARALLEL_GATEWAYSCRIPT_TASKSERVICE_TASKSTART_EVENT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NodeTypevalueOf(String name)Returns the enum constant of this type with the specified name.static NodeType[]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 NodeType SCRIPT_TASK
-
END_EVENT
public static final NodeType END_EVENT
-
START_EVENT
public static final NodeType START_EVENT
-
SERVICE_TASK
public static final NodeType SERVICE_TASK
-
EXCLUSIVE_GATEWAY
public static final NodeType EXCLUSIVE_GATEWAY
-
INCLUSIVE_GATEWAY
public static final NodeType INCLUSIVE_GATEWAY
-
PARALLEL_GATEWAY
public static final NodeType PARALLEL_GATEWAY
-
CALL_ACTIVITY
public static final NodeType CALL_ACTIVITY
-
-
Method Detail
-
values
public static NodeType[] 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 (NodeType c : NodeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NodeType 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
-
-