Class EventExecutionResult
java.lang.Object
de.xima.fc.workflow.processor.model.EventExecutionResult
- All Implemented Interfaces:
IEventExecutionResult,Serializable
POJO implementation of
IEventExecutionResult.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic IEventExecutionResultforException(Exception exception) static IEventExecutionResultforSuccess(ITaskQueueExecutionResult result) Methods 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.IEventExecutionResult
isHasException, isHasResult, isSuccessful
-
Method Details
-
getException
- Specified by:
getExceptionin interfaceIEventExecutionResult- Returns:
- The (unhandled) exception that is responsible when no
IEventExecutionResult.getResult()at all (neither success nor error) could be obtained.nullwhenIEventExecutionResult.isHasException()isfalse.
-
getResult
- Specified by:
getResultin interfaceIEventExecutionResult- Returns:
- The result of executing the tasks of a form record.
nullifIEventExecutionResult.isHasResult()isfalse.
-
forSuccess
- Parameters:
result- The result obtained upon successful execution of a task queue.- Returns:
- A new instance representing a success result.
-
forException
- Parameters:
exception- The exception raised during execution of a task queue.- Returns:
- A new instance representing an exceptional result.
-