Interface INodeTransferredControlExceptionBuilder
- All Superinterfaces:
org.apache.commons.lang3.builder.Builder<NodeTransferredControlException>, IAbruptCompletionExceptionBuilder<INodeTransferredControlExceptionBuilder, NodeTransferredControlException>, ICompletionResultBuilder<INodeTransferredControlExceptionBuilder, NodeTransferredControlException>, ISuccessResultBuilder<INodeTransferredControlExceptionBuilder, NodeTransferredControlException>
public interface INodeTransferredControlExceptionBuilder
extends ISuccessResultBuilder<INodeTransferredControlExceptionBuilder, NodeTransferredControlException>, IAbruptCompletionExceptionBuilder<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 Summary
Modifier and TypeMethodDescriptiontargetNode(WorkflowNode targetNode) Sets the optionaltargetof the loop node which is targeted by the abrupt loop completion.targetNode(NodeKey targetNode) Sets the optionalnode keyof the loop node which is targeted by the abrupt loop completion.Methods inherited from interface org.apache.commons.lang3.builder.Builder
buildMethods inherited from interface IAbruptCompletionExceptionBuilder
cause, messageMethods inherited from interface ICompletionResultBuilder
always, always, attachment, attachment, attachment, file, file, file, file, file, file
-
Method Details
-
targetNode
Sets the optionalnode keyof the loop node which is targeted by the abrupt loop completion. Whennull, the closest node is targeted.- Parameters:
targetNode- Target of the loop interruption.- Returns:
- This builder for chaining methods calls.
-
targetNode
Sets the optionaltargetof the loop node which is targeted by the abrupt loop completion. Whennull, the closest node is targeted.- Parameters:
targetNode- Target of the loop interruption.- Returns:
- This builder for chaining methods calls.
-