Package de.xima.fc.exceptions
Class AbstractAbruptCompletionException.Builder<Self extends AbstractAbruptCompletionException.Builder>
java.lang.Object
de.xima.fc.exceptions.AbstractAbruptCompletionException.Builder<Self>
- Type Parameters:
Self- Type of the builder implementation.
- Direct Known Subclasses:
NodeReturnedException.Builder,NodeThrewException.Builder
- Enclosing class:
- AbstractAbruptCompletionException
public abstract static class AbstractAbruptCompletionException.Builder<Self extends AbstractAbruptCompletionException.Builder>
extends Object
A simple builder for an
AbstractAbruptCompletionException- Since:
- 8.1.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal SelfalwaysValue(Object alwaysValue) final SelfattachmentValue(IWorkflowAttachmentValue attachmentValue) final Selffinal SelffileValue(IWorkflowFileValue fileValue) final Selfprotected abstract Selfself()
-
Constructor Details
-
Builder
- Parameters:
node- The node that did finish execution.
-
-
Method Details
-
alwaysValue
- Parameters:
alwaysValue- Data made available by the node irrespective of how it finished.- Returns:
- This builder for chaining method calls.
-
cause
- Parameters:
cause- Underlying cause of the error that occurred.- Returns:
- This builder for chaining method calls.
-
message
- Parameters:
message- Error message describing the error that occurred.- Returns:
- This builder for chaining method calls.
-
attachmentValue
- Parameters:
attachmentValue- List of attachments made available by the node.- Returns:
- This builder for chaining method calls.
-
fileValue
- Parameters:
fileValue- List of files made available by the node.- Returns:
- This builder for chaining method calls.
-
self
- Returns:
- This builder instance for chaining method calls.
-