Class ProcessNodeType
java.lang.Object
com.aquima.interactions.process.ds.ProcessNodeType
- All Implemented Interfaces:
Serializable
This class defines the possible types of nodes that may be present in a process definition.
- Since:
- 7.0
- Author:
- O. Kerpershoek
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ProcessNodeType
This member defines the node type at which the branches of an AND group will join.static final ProcessNodeType
This member defines a node at which all of the edges should be chosen.static final ProcessNodeType
This member defines a node at which one of the edges should be chosen.static final ProcessNodeType
this member defines the type that is used for the last node(s) of a process.static final ProcessNodeType
This member defines the node type at which the branches of a CHOICE will join.static final ProcessNodeType
This member defines the node type at which the branches of an OR group will join.static final ProcessNodeType
This member defines a node at which one or more of the edges should be chosen.static final ProcessNodeType
This node type is used for nodes that invoke a (sub) process.static final ProcessNodeType
This member defines the task node type, used for nodes that identify an (external) task.static final ProcessNodeType
This member defines the node type that is used for nodes that wait until a condition becomes true.static final ProcessNodeType
This member defines the node type that is used for nodes that wait for an (external) event.static final ProcessNodeType
This member defines the node type that is used for nodes that trigger a delay. -
Method Summary
Modifier and TypeMethodDescriptionboolean
getName()
This method returns the name of the process node type.int
hashCode()
boolean
This method returns a boolean indicating if this type is a split node.boolean
This method returns a boolean indicating if this type is either a split or join node.This method converts this generic node type to a more specific group type.toString()
static ProcessNodeType
This method return the process node type for a specified name.
-
Field Details
-
TASK
This member defines the task node type, used for nodes that identify an (external) task. -
OR_START
This member defines a node at which one or more of the edges should be chosen. -
OR_END
This member defines the node type at which the branches of an OR group will join. -
CHOICE
This member defines a node at which one of the edges should be chosen. -
JOIN
This member defines the node type at which the branches of a CHOICE will join. -
AND_START
This member defines a node at which all of the edges should be chosen. -
AND_END
This member defines the node type at which the branches of an AND group will join. -
PROCESS
This node type is used for nodes that invoke a (sub) process. -
WAIT_EVENT
This member defines the node type that is used for nodes that wait for an (external) event. -
WAIT_TIMER
This member defines the node type that is used for nodes that trigger a delay. -
WAIT_CONDITION
This member defines the node type that is used for nodes that wait until a condition becomes true. -
END
this member defines the type that is used for the last node(s) of a process.
-
-
Method Details
-
getName
This method returns the name of the process node type.- Returns:
- the name of the process node type.
-
hashCode
public int hashCode() -
isGroupType
public boolean isGroupType()This method returns a boolean indicating if this type is either a split or join node.- Returns:
- a boolean indicating if this type is either a split or join node.
-
toGroupType
This method converts this generic node type to a more specific group type.- Returns:
- The group type for this node type.
-
isGroupStartNode
public boolean isGroupStartNode()This method returns a boolean indicating if this type is a split node.- Returns:
- a boolean indicating if this type is a split node.
-
equals
-
toString
-
valueOf
This method return the process node type for a specified name.- Parameters:
name
- The process node type name.- Returns:
- The process node type, never null.
- Throws:
IllegalArgumentException
- Is thrown when the name does not match a process node type.
-