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 IWorkflowNodeResult
normal
(INormalCompletionResult result) static IWorkflowNodeResult
static IWorkflowNodeResult
*static IWorkflowNodeResult
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
getCompletionType
in interfaceIWorkflowNodeResult
- Returns:
- How the execution of the workflow node completed.
-
getAbruptCompletionException
- Specified by:
getAbruptCompletionException
in interfaceIWorkflowNodeResult
- Returns:
- The exception that was thrown by the workflow node, or
null
when the node did not complete abruptly. - See Also:
-
getNormalCompletionResult
- Specified by:
getNormalCompletionResult
in interfaceIWorkflowNodeResult
- Returns:
- The result returned by the workflow node upon execution, or
null
when 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.
-