Class NormalCompletionResult.Builder
java.lang.Object
de.xima.fc.workflow.processor.model.NormalCompletionResult.Builder
- Enclosing class:
- NormalCompletionResult
A simple builder for an
NormalCompletionResult
- Since:
- 8.1.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionalwaysValue
(Object alwaysValue) attachmentValue
(IWorkflowAttachmentValue attachmentValue) build()
fileValue
(IWorkflowFileValue fileValue) softErrors
(List<NodeSoftErrorException> softErrors) successValue
(Object successValue)
-
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 completed.- 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.
-
build
- Returns:
- A new
NormalCompletionResult
with this data.
-
fileValue
- Parameters:
fileValue
- List of files made available by the node.- Returns:
- This builder for chaining method calls.
-
softErrors
- Parameters:
softErrors
- Soft errors that occurred during the node's execution.- Returns:
- This builder for chaining method calls.
-
successValue
- Parameters:
successValue
- Data made available by the node when it completed successfully.- Returns:
- This builder for chaining method calls.
-