Class EmptyEventExecutionResult
java.lang.Object
de.xima.fc.workflow.processor.logic.execution.EmptyEventExecutionResult
- All Implemented Interfaces:
IEventExecutionResult
,Serializable
An event execution result that can be used when no tasks were executed, such as when no triggers fired).
- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic IEventExecutionResult
forFormRecord
(IEntityContext ec, IWorkflowTaskRunnerParams params) Creates a new event execution result for a form record that can be used when no tasks were executed (when no triggers fired).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.IEventExecutionResult
isHasException, isHasResult, isSuccessful
-
Method Details
-
getException
- Specified by:
getException
in interfaceIEventExecutionResult
- Returns:
- The (unhandled) exception that is responsible when no
IEventExecutionResult.getResult()
at all (neither success nor error) could be obtained.null
whenIEventExecutionResult.isHasException()
isfalse
.
-
getResult
- Specified by:
getResult
in interfaceIEventExecutionResult
- Returns:
- The result of executing the tasks of a form record.
null
ifIEventExecutionResult.isHasResult()
isfalse
.
-
forFormRecord
public static IEventExecutionResult forFormRecord(IEntityContext ec, IWorkflowTaskRunnerParams params) Creates a new event execution result for a form record that can be used when no tasks were executed (when no triggers fired).- Parameters:
ec
- Entity context to use.params
- Parameters with the current client, form record, project etc.- Returns:
- A new, empty event execution result.
-