Package de.xima.fc.exceptions
Class AbstractSuccessAbruptCompletionException.Builder<Self extends AbstractSuccessAbruptCompletionException.Builder>
- java.lang.Object
-
- de.xima.fc.exceptions.AbstractAbruptCompletionException.Builder<Self>
-
- de.xima.fc.exceptions.AbstractSuccessAbruptCompletionException.Builder<Self>
-
- Direct Known Subclasses:
NodeReturnedException.Builder
,NodeTransferredControlException.Builder
- Enclosing class:
- AbstractSuccessAbruptCompletionException
public abstract static class AbstractSuccessAbruptCompletionException.Builder<Self extends AbstractSuccessAbruptCompletionException.Builder> extends AbstractAbruptCompletionException.Builder<Self>
A simple builder for configuring aNodeReturnedException
.- Since:
- 8.2.0
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder(WorkflowNode node)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Self
softErrors(List<NodeSoftErrorException> softErrors)
Self
successValue(Object successValue)
-
Methods inherited from class de.xima.fc.exceptions.AbstractAbruptCompletionException.Builder
alwaysValue, attachmentValue, cause, fileValue, message, self
-
-
-
-
Constructor Detail
-
Builder
protected Builder(WorkflowNode node)
- Parameters:
node
- The node that did finish execution.
-
-
Method Detail
-
softErrors
public Self softErrors(List<NodeSoftErrorException> softErrors)
- Parameters:
softErrors
- Soft errors that occurred during the node's execution.- Returns:
- This builder instance for chaining method calls.
-
-