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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default INodeTransferredControlExceptionBuildertargetNode(WorkflowNode targetNode)Sets the optionaltargetof the loop node which is targeted by the abrupt loop completion.INodeTransferredControlExceptionBuildertargetNode(NodeKey targetNode)Sets the optionalnode keyof the loop node which is targeted by the abrupt loop completion.-
Methods inherited from interface de.xima.fc.interfaces.workflow.params.IAbruptCompletionExceptionBuilder
cause, message
-
Methods inherited from interface de.xima.fc.interfaces.workflow.params.ICompletionResultBuilder
always, always, attachment, attachment, attachment, file, file, file, file, file, file
-
-
-
-
Method Detail
-
targetNode
INodeTransferredControlExceptionBuilder targetNode(NodeKey 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
default INodeTransferredControlExceptionBuilder targetNode(WorkflowNode 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.
-
-