Interface INodeTransferredControlExceptionBuilder

All Superinterfaces:
org.apache.commons.lang3.builder.Builder<NodeTransferredControlException>, IAbruptCompletionExceptionBuilder<INodeTransferredControlExceptionBuilder, NodeTransferredControlException>, ICompletionResultBuilder<INodeTransferredControlExceptionBuilder, NodeTransferredControlException>, ISuccessResultBuilder<INodeTransferredControlExceptionBuilder, NodeTransferredControlException>

Builder for the exception thrown by a node when it wishes to peform an abrupt local control transfer, e.g. by issuing a break or continue statement.
Since:
8.2.0
Author:
XIMA MEDIA GmbH
  • Method Details

    • targetNode

      Sets the optional node key of the loop node which is targeted by the abrupt loop completion. When null, the closest node is targeted.
      Parameters:
      targetNode - Target of the loop interruption.
      Returns:
      This builder for chaining methods calls.
    • targetNode

      default INodeTransferredControlExceptionBuilder targetNode(WorkflowNode targetNode)
      Sets the optional target of the loop node which is targeted by the abrupt loop completion. When null, the closest node is targeted.
      Parameters:
      targetNode - Target of the loop interruption.
      Returns:
      This builder for chaining methods calls.