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:
 AbstractSuccessAbruptCompletionException.Builder,NodeThrewException.Builder
- Enclosing class:
 - AbstractAbruptCompletionException
 
public abstract static class AbstractAbruptCompletionException.Builder<Self extends AbstractAbruptCompletionException.Builder> extends Object
A simple builder for anAbstractAbruptCompletionException- Since:
 - 8.1.0
 
 
- 
- 
Constructor Summary
Constructors Modifier Constructor Description protectedBuilder(WorkflowNode node) 
- 
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description SelfalwaysValue(Object alwaysValue)SelfattachmentValue(IWorkflowAttachmentValue attachmentValue)Selfcause(Throwable cause)SelffileValue(IWorkflowFileValue fileValue)Selfmessage(String message)protected abstract Selfself() 
 - 
 
- 
- 
Constructor Detail
- 
Builder
protected Builder(WorkflowNode node)
- Parameters:
 node- The node that did finish execution.
 
 - 
 
- 
Method Detail
- 
alwaysValue
public final Self alwaysValue(Object alwaysValue)
- Parameters:
 alwaysValue- Data made available by the node irrespective of how it finished.- Returns:
 - This builder for chaining method calls.
 
 
- 
cause
public final Self cause(Throwable cause)
- Parameters:
 cause- Underlying cause of the error that occurred.- Returns:
 - This builder for chaining method calls.
 
 
- 
message
public final Self message(String message)
- Parameters:
 message- Error message describing the error that occurred.- Returns:
 - This builder for chaining method calls.
 
 
- 
attachmentValue
public final Self attachmentValue(IWorkflowAttachmentValue attachmentValue)
- Parameters:
 attachmentValue- List of attachments made available by the node.- Returns:
 - This builder for chaining method calls.
 
 
- 
fileValue
public final Self fileValue(IWorkflowFileValue fileValue)
- Parameters:
 fileValue- List of files made available by the node.- Returns:
 - This builder for chaining method calls.
 
 
- 
self
protected abstract Self self()
- Returns:
 - This builder instance for chaining method calls.
 
 
 - 
 
 -