Class ConditionNodeHandler
java.lang.Object
com.aquima.interactions.process.impl.handlers.NodeHandlerBase
com.aquima.interactions.process.impl.handlers.ConditionNodeHandler
- All Implemented Interfaces:
INodeHandler
,ITaskHandler
This handler is used to schedule and evaluate condition nodes.
- Since:
- 7.1
- Author:
- O. Kerpershoek
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ConditionNodeHandler
(ProcessCaseRepository caseRepository) -
Method Summary
Modifier and TypeMethodDescriptionvoid
processNode
(IEvaluationContext context, ITaskModel currentTask) This method should process the task, and if the evaluation is successful, schedule the follow-up tasks.void
scheduleNode
(IEvaluationContext context) This method should schedule a task for the current node.Methods inherited from class com.aquima.interactions.process.impl.handlers.NodeHandlerBase
calculateTimeout
-
Constructor Details
-
Method Details
-
scheduleNode
Description copied from interface:INodeHandler
This method should schedule a task for the current node. The context contains the current node and the parent task.- Specified by:
scheduleNode
in interfaceINodeHandler
- Parameters:
context
- This object contains information about the current node.
-
processNode
Description copied from interface:ITaskHandler
This method should process the task, and if the evaluation is successful, schedule the follow-up tasks.- Specified by:
processNode
in interfaceITaskHandler
- Parameters:
context
- The current context of the task.currentTask
- The task that should be processed.
-