Class EventNodeHandler

java.lang.Object
com.aquima.interactions.process.impl.handlers.NodeHandlerBase
com.aquima.interactions.process.impl.handlers.EventNodeHandler
All Implemented Interfaces:
INodeHandler, ITaskHandler

public class EventNodeHandler extends NodeHandlerBase implements INodeHandler, ITaskHandler
This handler is used to schedule and process nodes that wait for an event.
Since:
7.1
Author:
O. Kerpershoek
  • Constructor Details

  • Method Details

    • scheduleNode

      public void scheduleNode(IEvaluationContext context)
      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 interface INodeHandler
      Parameters:
      context - This object contains information about the current node.
    • processNode

      public void processNode(IEvaluationContext context, ITaskModel currentTask)
      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 interface ITaskHandler
      Parameters:
      context - The current context of the task.
      currentTask - The task that should be processed.