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 IWorkflowNodeResultGets the type of how the node completed when it was executed.static IWorkflowNodeResultnormal(INormalCompletionResult result) static IWorkflowNodeResultstatic IWorkflowNodeResult*static IWorkflowNodeResultstatic IWorkflowNodeResult*Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IWorkflowNodeResult
getAlwaysResultValue, getAttachmentValue, getErrorResultData, getFileValue, getNode, getReturningException, getSoftErrors, getSuccessResultData, getSuccessResultValue, getThrowingException, getTransferringControlException, isAbruptlyCompleted, isHasHardError, isHasSoftErrors, isHasSoftOrHardErrors, isNormallyCompleted, isWasSuccessful
-
Method Details
-
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:
-
getCompletionType
Description copied from interface:IWorkflowNodeResultGets the type of how the node completed when it was executed.- Specified by:
getCompletionTypein interfaceIWorkflowNodeResult- Returns:
- How the execution of the workflow node completed.
-
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:
-
abruptly
- Parameters:
e- Abrupt completion exception by the node.- Returns:
- A new node result for an execution of a node that ended abruptly.
- Throws:
ExecutionAbortedError- When the given exception is not one of the recognized types (which should never happen as theAbstractAbruptCompletionExceptionis a sealed class).- Since:
- 8.1.0
-
normal
- Parameters:
result- Result obtained after a node was executed successfully.- Returns:
- A new node result for a successful execution.
-
normalEmpty
- Returns:
- A new node result for a successful execution with no content.
-
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.
-
throwing
- Parameters:
e- Exception that occurred and cause the node's execution to fail.- Returns:
- A new node result for a failed execution.
-
transferringControl
*- Parameters:
e- Loop continuing exception issued by the node.- Returns:
- A new node result for a successful execution of a node that wishes to issue a continue statement.
-