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

public class Join extends NodeImpl
Default implementation of a join.
See Also:
  • Field Details

    • TYPE_UNDEFINED

      public static final int TYPE_UNDEFINED
      See Also:
    • 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:
    • 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:
    • 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:
    • 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:
    • 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

      public void setN(String n)
    • getN

      public String getN()
    • validateAddIncomingConnection

      public void validateAddIncomingConnection(String type, org.kie.api.definition.process.Connection connection)
      Overrides:
      validateAddIncomingConnection in class NodeImpl
    • validateAddOutgoingConnection

      public void validateAddOutgoingConnection(String type, org.kie.api.definition.process.Connection connection)
      Overrides:
      validateAddOutgoingConnection in class NodeImpl