Package com.groiss.wf

Interface ParForIterator


public interface ParForIterator
Iterator interface for parallel for.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns true if additional branches should be made.
    default void
    Init the iterator with the activity instance of the PARFOR step.
    default void
    This method is called with each branch.
  • Method Details

    • init

      default void init(ActivityInstance ai)
      Init the iterator with the activity instance of the PARFOR step.
    • hasNext

      boolean hasNext()
      Returns true if additional branches should be made.
    • next

      default void next(ActivityInstance ai)
      This method is called with each branch. The argument is the activity instance that will be the parent of the activity instances in the branch.