Class NodeHandlerBase

java.lang.Object
com.aquima.interactions.process.impl.handlers.NodeHandlerBase
Direct Known Subclasses:
ConditionNodeHandler, EventNodeHandler, GroupNodeHandler, ProcessNodeHandler, TaskNodeHandler, TimerNodeHandler

public abstract class NodeHandlerBase extends Object
Base class for node handlers that contains some common methods related to scheduling.
Since:
7.1
Author:
O. Kerpershoek
  • Constructor Details

    • NodeHandlerBase

      public NodeHandlerBase()
  • Method Details

    • calculateTimeout

      protected static DateTimeValue calculateTimeout(IProcessNodeDefinition node, IEvaluationContext context) throws RuleEngineException
      Throws:
      RuleEngineException
    • setPostponedJobs

      public void setPostponedJobs(PostponedJobs postponedJobs)
    • scheduleExpiringJob

      protected void scheduleExpiringJob(ProcessEngine processEngine, ITaskModel task, IProcessEvaluator evaluator)
      Schedules a job that executes task expiration.
      Parameters:
      processEngine - The current process engine.
      task - The current task model.
      evaluator - The current process evaluator.
    • scheduleTimerJob

      protected void scheduleTimerJob(ProcessEngine processEngine, ITaskModel task, IProcessEvaluator evaluator)
      Schedules a job that processes a timer node.
      Parameters:
      processEngine - The current process engine.
      task - The current task model.
      evaluator - The current process evaluator.
    • schedulePriorityReevaluation

      protected void schedulePriorityReevaluation(ProcessEngine processEngine, ITaskModel task, IEvaluationContext context)
      Schedules the re-evaluation of the priority of the current task.
      Parameters:
      processEngine - The current process engine.
      task - The current task model.
      context - The current process evaluator.