Class GroupNodeHandler

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

public class GroupNodeHandler extends NodeHandlerBase implements INodeHandler, ITaskHandler
Node handler for group nodes (AND / OR).
Since:
7.0
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 groupTask)
      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.
      groupTask - The task that should be processed.