Class NormalCompletionResult
- java.lang.Object
- 
- de.xima.fc.workflow.processor.model.NormalCompletionResult
 
- 
- All Implemented Interfaces:
- INormalCompletionResult
 
 public final class NormalCompletionResult extends Object implements INormalCompletionResult POJO implementation ofINormalCompletionResult.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
 
- 
- 
Constructor SummaryConstructors Constructor Description NormalCompletionResult(WorkflowNode node, Object alwaysValue, Object successValue, IWorkflowFileValue fileValue)Creates a new POJO with the given data.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static INormalCompletionResultempty()ObjectgetAlwaysValue()IWorkflowFileValuegetFileValue()WorkflowNodegetNode()ObjectgetSuccessValue()
 
- 
- 
- 
Constructor Detail- 
NormalCompletionResultpublic NormalCompletionResult(WorkflowNode node, Object alwaysValue, Object successValue, IWorkflowFileValue fileValue) Creates a new POJO with the given data.- Parameters:
- node- The value returned by- INormalCompletionResult.getNode()
- alwaysValue- The value returned by- INormalCompletionResult.getAlwaysValue()
- successValue- The value returned by- INormalCompletionResult.getSuccessValue()
- fileValue- The value returned by- INormalCompletionResult.getFileValue()
 
 
- 
 - 
Method Detail- 
getAlwaysValuepublic Object getAlwaysValue() - Specified by:
- getAlwaysValuein interface- INormalCompletionResult
- Returns:
- The value that is always returned, whether or not the node completed normally. Must conform to the
 IExecutionResultDescriptor.getAlwaysValueDescriptor(IValueDescriptorFactory)IExecutionResultDescriptor#getAlwaysValueDescriptor.
 
 - 
getFileValuepublic IWorkflowFileValue getFileValue() - Specified by:
- getFileValuein interface- INormalCompletionResult
- Returns:
- The file returned by the node when executed normally. Must conform to the
 IExecutionResultDescriptor.getFileValueDescriptor().
 
 - 
getNodepublic WorkflowNode getNode() - Specified by:
- getNodein interface- INormalCompletionResult
- Returns:
- The node that created this result. May be nullwhen no node is associated with this result.
 
 - 
getSuccessValuepublic Object getSuccessValue() - Specified by:
- getSuccessValuein interface- INormalCompletionResult
- Returns:
- The value that is returned when node completed normally. Must conform to the
 IExecutionResultDescriptor.getSuccessValueDescriptor(IValueDescriptorFactory)IExecutionResultDescriptor#getSuccessValueDescriptor.
 
 - 
emptypublic static INormalCompletionResult empty() - Returns:
- An empty success result with no data.
 
 
- 
 
-