Package 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,Mappable,Contextable,ContextResolver,Node,org.kie.api.definition.process.Node,org.kie.api.definition.process.WorkflowElement,KogitoNode
Default implementation of a join.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe outgoing connection of a join of this type is triggered when all its incoming connections have been triggered.static final intThe outgoing connection of a join of this type is triggered when one of its incoming connections has been triggered.static final intThe outgoing connection of a join of this type is triggered when n of its incoming connections have been triggered.static final intstatic final intstatic final intThe outgoing connection of a join of this type is triggered when one of its incoming connections has been triggered.Fields inherited from class org.jbpm.workflow.core.impl.NodeImpl
constraintsFields inherited from interface org.jbpm.workflow.core.Node
CONNECTION_DEFAULT_TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetN()intgetType()voidvoidsetType(int type) voidvalidateAddIncomingConnection(String type, org.kie.api.definition.process.Connection connection) voidvalidateAddOutgoingConnection(String type, org.kie.api.definition.process.Connection connection) Methods inherited from class org.jbpm.workflow.core.impl.NodeImpl
addConstraint, addInAssociation, addIncomingConnection, addInMapping, addOutAssociation, addOutgoingConnection, addOutMapping, clearIncomingConnection, clearOutgoingConnection, getConstraint, getConstraints, getConstraints, getContext, getDefaultIncomingConnections, getDefaultOutgoingConnections, getFrom, getId, getInAssociations, getIncomingConnections, getIncomingConnections, getInMapping, getInMappings, getIoSpecification, getMetaData, getMetaData, getMultiInstanceSpecification, getName, getNodeContainer, getOutAssociations, getOutgoingConnections, getOutgoingConnections, getOutMapping, getOutMappings, getParentContainer, getProcess, getTo, internalGetConstraint, removeIncomingConnection, removeOutgoingConnection, resolveContext, setConstraint, setContext, setId, setIoSpecification, setMetaData, setMetaData, setMultiInstanceSpecification, setName, setParentContainer, validateRemoveIncomingConnection, validateRemoveOutgoingConnectionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.kie.api.definition.process.Node
getNodeTypeMethods inherited from interface org.kie.api.definition.process.WorkflowElement
getUniqueId
-
Field Details
-
TYPE_UNDEFINED
public static final int TYPE_UNDEFINED- See Also:
-
TYPE_AND
public static final int TYPE_ANDThe outgoing connection of a join of this type is triggered when all its incoming connections have been triggered.- See Also:
-
TYPE_XOR
public static final int TYPE_XORThe outgoing connection of a join of this type is triggered when one of its incoming connections has been triggered.- See Also:
-
TYPE_DISCRIMINATOR
public static final int TYPE_DISCRIMINATORThe 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:
-
TYPE_N_OF_M
public static final int TYPE_N_OF_MThe outgoing connection of a join of this type is triggered when n of its incoming connections have been triggered.- See Also:
-
TYPE_OR
public static final int TYPE_OR- See Also:
-
-
Constructor Details
-
Join
public Join()
-
-
Method Details
-
setType
public void setType(int type) -
getType
public int getType() -
setN
-
getN
-
validateAddIncomingConnection
public void validateAddIncomingConnection(String type, org.kie.api.definition.process.Connection connection) - Overrides:
validateAddIncomingConnectionin classNodeImpl
-
validateAddOutgoingConnection
public void validateAddOutgoingConnection(String type, org.kie.api.definition.process.Connection connection) - Overrides:
validateAddOutgoingConnectionin classNodeImpl
-