org.jbpm.workflow.core.node
Class Join
java.lang.Object
org.jbpm.workflow.core.impl.NodeImpl
org.jbpm.workflow.core.node.Join
- All Implemented Interfaces:
- Serializable, Node, Contextable, ContextResolver
public class Join
- extends NodeImpl
Default implementation of a join.
- See Also:
- Serialized Form
Field Summary |
static int |
TYPE_AND
The outgoing connection of a join of this type is triggered
when all its incoming connections have been triggered. |
static int |
TYPE_DISCRIMINATOR
The outgoing connection of a join of this type is triggered
when one of its incoming connections has been triggered. |
static int |
TYPE_N_OF_M
The outgoing connection of a join of this type is triggered
when n of its incoming connections have been triggered. |
static int |
TYPE_UNDEFINED
|
static int |
TYPE_XOR
The outgoing connection of a join of this type is triggered
when one of its incoming connections has been triggered. |
Constructor Summary |
Join()
|
Methods inherited from class org.jbpm.workflow.core.impl.NodeImpl |
addConstraint, addIncomingConnection, addOutgoingConnection, getConstraint, getConstraints, getContext, getDefaultIncomingConnections, getDefaultOutgoingConnections, getFrom, getId, getIncomingConnections, getIncomingConnections, getMetaData, getMetaData, getName, getNodeContainer, getOutgoingConnections, getOutgoingConnections, getTo, getUniqueId, internalGetConstraint, removeIncomingConnection, removeOutgoingConnection, resolveContext, setConstraint, setContext, setId, setMetaData, setMetaData, setName, setNodeContainer, validateRemoveIncomingConnection, validateRemoveOutgoingConnection |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE_UNDEFINED
public static final int TYPE_UNDEFINED
- See Also:
- Constant Field Values
TYPE_AND
public static final int TYPE_AND
- The outgoing connection of a join of this type is triggered
when all its incoming connections have been triggered.
- See Also:
- Constant Field Values
TYPE_XOR
public static final int TYPE_XOR
- The outgoing connection of a join of this type is triggered
when one of its incoming connections has been triggered.
- See Also:
- Constant Field Values
TYPE_DISCRIMINATOR
public static final int TYPE_DISCRIMINATOR
- The outgoing connection of a join of this type is triggered
when one of its incoming connections has been triggered. It then
waits until all other incoming connections have been triggered
before allowing
- See Also:
- Constant Field Values
TYPE_N_OF_M
public static final int TYPE_N_OF_M
- The outgoing connection of a join of this type is triggered
when n of its incoming connections have been triggered.
- See Also:
- Constant Field Values
Join
public Join()
setType
public void setType(int type)
getType
public int getType()
setN
public void setN(String n)
getN
public String getN()
validateAddIncomingConnection
public void validateAddIncomingConnection(String type,
Connection connection)
- Overrides:
validateAddIncomingConnection
in class NodeImpl
validateAddOutgoingConnection
public void validateAddOutgoingConnection(String type,
Connection connection)
- Overrides:
validateAddOutgoingConnection
in class NodeImpl
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.