Package de.xima.fc.exceptions
Class NodeTransferredControlException.Builder
- java.lang.Object
-
- de.xima.fc.exceptions.AbstractAbruptCompletionException.Builder<Self>
-
- 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 aNodeTransferredControlException
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeTransferredControlException
build()
NodeTransferredControlException.Builder
controlTransferType(String controlTransferType)
protected NodeTransferredControlException.Builder
self()
NodeTransferredControlException.Builder
targetNode(NodeKey targetNode)
-
Methods inherited from class de.xima.fc.exceptions.AbstractSuccessAbruptCompletionException.Builder
softErrors, successValue
-
Methods inherited from class de.xima.fc.exceptions.AbstractAbruptCompletionException.Builder
alwaysValue, attachmentValue, cause, fileValue, message
-
-
-
-
Method Detail
-
build
public NodeTransferredControlException build()
- Returns:
- A new
NodeTransferredControlException
with the current data.
-
controlTransferType
public NodeTransferredControlException.Builder controlTransferType(String controlTransferType)
- Parameters:
controlTransferType
- Type of the control transfer, seeEStandardControlTransferType
for a list of built-in transfer types.- Returns:
- This builder instance for chaining method calls.
-
targetNode
public NodeTransferredControlException.Builder targetNode(NodeKey targetNode)
- Parameters:
targetNode
- Optionalnode key
of 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
protected NodeTransferredControlException.Builder self()
- Specified by:
self
in classAbstractAbruptCompletionException.Builder<NodeTransferredControlException.Builder>
- Returns:
- This builder instance for chaining method calls.
-
-