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 NodeTransferredControlExceptionbuild()NodeTransferredControlException.BuildercontrolTransferType(String controlTransferType)protected NodeTransferredControlException.Builderself()NodeTransferredControlException.BuildertargetNode(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
NodeTransferredControlExceptionwith the current data.
-
controlTransferType
public NodeTransferredControlException.Builder controlTransferType(String 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
public NodeTransferredControlException.Builder targetNode(NodeKey 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
protected NodeTransferredControlException.Builder self()
- Specified by:
selfin classAbstractAbruptCompletionException.Builder<NodeTransferredControlException.Builder>- Returns:
- This builder instance for chaining method calls.
-
-