Class NodeTransferredControlException.Builder
java.lang.Object
de.xima.fc.exceptions.AbstractAbruptCompletionException.Builder<NodeTransferredControlException.Builder>
de.xima.fc.exceptions.AbstractSuccessAbruptCompletionException.Builder<NodeTransferredControlException.Builder>
de.xima.fc.exceptions.NodeTransferredControlException.Builder
- Enclosing class:
NodeTransferredControlException
public static final class NodeTransferredControlException.Builder
extends AbstractSuccessAbruptCompletionException.Builder<NodeTransferredControlException.Builder>
A simple builder for configuring a
NodeTransferredControlException.- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescriptionbuild()controlTransferType(String controlTransferType) protected NodeTransferredControlException.Builderself()targetNode(NodeKey targetNode) Methods inherited from class AbstractSuccessAbruptCompletionException.Builder
softErrors, successValueMethods inherited from class AbstractAbruptCompletionException.Builder
alwaysValue, attachmentValue, cause, fileValue, message
-
Method Details
-
build
- Returns:
- A new
NodeTransferredControlExceptionwith the current data.
-
controlTransferType
- Parameters:
controlTransferType- Type of the control transfer, seeEStandardControlTransferTypefor a list of built-in transfer types.- Returns:
- This builder instance for chaining method calls.
-
targetNode
- Parameters:
targetNode- Optionalnode keyof the loop node which is targeted by the abrupt loop completion. Whennull, the closest node is targeted.- Returns:
- This builder instance for chaining method calls.
-
self
- Specified by:
selfin classAbstractAbruptCompletionException.Builder<NodeTransferredControlException.Builder>- Returns:
- This builder instance for chaining method calls.
-