Class BPMNLinkedFlowIterator<T>

java.lang.Object
org.openbpmn.bpmn.navigation.BPMNFlowIterator<org.openbpmn.bpmn.elements.core.BPMNElementNode>
org.imixs.workflow.bpmn.BPMNLinkedFlowIterator<T>
All Implemented Interfaces:
Iterator<org.openbpmn.bpmn.elements.core.BPMNElementNode>

public class BPMNLinkedFlowIterator<T> extends org.openbpmn.bpmn.navigation.BPMNFlowIterator<org.openbpmn.bpmn.elements.core.BPMNElementNode>
This BPMNLinkedFlowIterator is a custom implementation of the BPMNFlowIterator. The class overwrite the method getTargetNode and resolves Link Events.
  • Field Summary

    Fields inherited from class org.openbpmn.bpmn.navigation.BPMNFlowIterator

    logger
  • Constructor Summary

    Constructors
    Constructor
    Description
    BPMNLinkedFlowIterator(org.openbpmn.bpmn.elements.core.BPMNElementNode bpmnElementNode, Predicate<org.openbpmn.bpmn.elements.core.BPMNElementNode> filter)
     
    BPMNLinkedFlowIterator(org.openbpmn.bpmn.elements.core.BPMNElementNode bpmnElementNode, Predicate<org.openbpmn.bpmn.elements.core.BPMNElementNode> filter, Predicate<String> conditionEvaluator)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.openbpmn.bpmn.elements.core.BPMNElementNode
    getTargetNode(org.openbpmn.bpmn.elements.SequenceFlow flow)
    This method tests if the target is a bpmn:intermediateThrowEvent with a bpmn2:linkEventDefinition to navigates automatically to the corresponding bpmn:intermediateCatchEvent This is a special implementation for Imixs Workflow.

    Methods inherited from class org.openbpmn.bpmn.navigation.BPMNFlowIterator

    hasNext, next

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.util.Iterator

    forEachRemaining, remove
  • Constructor Details

    • BPMNLinkedFlowIterator

      public BPMNLinkedFlowIterator(org.openbpmn.bpmn.elements.core.BPMNElementNode bpmnElementNode, Predicate<org.openbpmn.bpmn.elements.core.BPMNElementNode> filter)
    • BPMNLinkedFlowIterator

      public BPMNLinkedFlowIterator(org.openbpmn.bpmn.elements.core.BPMNElementNode bpmnElementNode, Predicate<org.openbpmn.bpmn.elements.core.BPMNElementNode> filter, Predicate<String> conditionEvaluator) throws org.openbpmn.bpmn.exceptions.BPMNValidationException
      Throws:
      org.openbpmn.bpmn.exceptions.BPMNValidationException
  • Method Details

    • getTargetNode

      public org.openbpmn.bpmn.elements.core.BPMNElementNode getTargetNode(org.openbpmn.bpmn.elements.SequenceFlow flow)
      This method tests if the target is a bpmn:intermediateThrowEvent with a bpmn2:linkEventDefinition to navigates automatically to the corresponding bpmn:intermediateCatchEvent This is a special implementation for Imixs Workflow.
      Overrides:
      getTargetNode in class org.openbpmn.bpmn.navigation.BPMNFlowIterator<org.openbpmn.bpmn.elements.core.BPMNElementNode>