Class WorkflowNodeResult
java.lang.Object
de.xima.fc.workflow.processor.model.WorkflowNodeResult
- All Implemented Interfaces:
IWorkflowNodeResult
POJO implementation of
IWorkflowNodeResult.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescriptionstatic IWorkflowNodeResultnormal(INormalCompletionResult result) static IWorkflowNodeResultstatic IWorkflowNodeResult*static IWorkflowNodeResultMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.xima.fc.interfaces.workflow.execution.IWorkflowNodeResult
getAlwaysResultValue, getAttachmentValue, getErrorResultData, getFileValue, getNode, getReturningException, getSoftErrors, getSuccessResultData, getSuccessResultValue, getThrowingException, isHasHardError, isHasSoftErrors, isHasSoftOrHardErrors, isWasSuccessful
-
Method Details
-
getCompletionType
- Specified by:
getCompletionTypein interfaceIWorkflowNodeResult- Returns:
- How the execution of the workflow node completed.
-
getAbruptCompletionException
- Specified by:
getAbruptCompletionExceptionin interfaceIWorkflowNodeResult- Returns:
- The exception that was thrown by the workflow node, or
nullwhen the node did not complete abruptly. - See Also:
-
getNormalCompletionResult
- Specified by:
getNormalCompletionResultin interfaceIWorkflowNodeResult- Returns:
- The result returned by the workflow node upon execution, or
nullwhen the node did not complete normally. - See Also:
-
normal
- Parameters:
result- Result obtained after a node was executed successfully.- Returns:
- A new node result for a successful execution.
-
throwing
- Parameters:
e- Exception that occurred and cause the node's execution to fail.- Returns:
- A new node result for a failed execution.
-
returning
*- Parameters:
e- Returning exception issued by the node.- Returns:
- A new node result for a successful execution of a node that wishes to issue a return statement.
-
normalEmpty
- Returns:
- A new node result for a successful execution with no content.
-