Class NormalCompletionResult.Builder
- java.lang.Object
 - 
- de.xima.fc.workflow.processor.model.NormalCompletionResult.Builder
 
 
- 
- Enclosing class:
 - NormalCompletionResult
 
public static final class NormalCompletionResult.Builder extends Object
A simple builder for anNormalCompletionResult- Since:
 - 8.1.0
 
 
- 
- 
Constructor Summary
Constructors Modifier Constructor Description protectedBuilder(WorkflowNode node) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NormalCompletionResult.BuilderalwaysValue(Object alwaysValue)NormalCompletionResult.BuilderattachmentValue(IWorkflowAttachmentValue attachmentValue)NormalCompletionResultbuild()NormalCompletionResult.BuilderfileValue(IWorkflowFileValue fileValue)NormalCompletionResult.BuildersoftErrors(List<NodeSoftErrorException> softErrors)NormalCompletionResult.BuildersuccessValue(Object successValue) 
 - 
 
- 
- 
Constructor Detail
- 
Builder
protected Builder(WorkflowNode node)
- Parameters:
 node- The node that did finish execution.
 
 - 
 
- 
Method Detail
- 
alwaysValue
public NormalCompletionResult.Builder alwaysValue(Object alwaysValue)
- Parameters:
 alwaysValue- Data made available by the node irrespective of how it completed.- Returns:
 - This builder for chaining method calls.
 
 
- 
attachmentValue
public NormalCompletionResult.Builder attachmentValue(IWorkflowAttachmentValue attachmentValue)
- Parameters:
 attachmentValue- List of attachments made available by the node.- Returns:
 - This builder for chaining method calls.
 
 
- 
build
public NormalCompletionResult build()
- Returns:
 - A new 
NormalCompletionResultwith this data. 
 
- 
fileValue
public NormalCompletionResult.Builder fileValue(IWorkflowFileValue fileValue)
- Parameters:
 fileValue- List of files made available by the node.- Returns:
 - This builder for chaining method calls.
 
 
- 
softErrors
public NormalCompletionResult.Builder softErrors(List<NodeSoftErrorException> softErrors)
- Parameters:
 softErrors- Soft errors that occurred during the node's execution.- Returns:
 - This builder for chaining method calls.
 
 
- 
successValue
public NormalCompletionResult.Builder successValue(Object successValue)
- Parameters:
 successValue- Data made available by the node when it completed successfully.- Returns:
 - This builder for chaining method calls.
 
 
 - 
 
 -