Interface IEvaluationContext

All Known Implementing Classes:
EvaluationContext

public interface IEvaluationContext
This interface defines the methods that are available for a node handler during the schedule or process action.
Since:
7.1
Author:
O. Kerpershoek
  • Method Summary

    Modifier and Type
    Method
    Description
    This method returns the evaluator that may be used to evaluate expressions and request information about the current state.
    This method returns the definition of the node that is currently being processed.
    This method returns the parent tasks of the current node.
    This method returns the current queue of tasks that need to be processed.
    This method return the time the evaluation started.
  • Method Details

    • getQueue

      IEvaluationQueue getQueue()
      This method returns the current queue of tasks that need to be processed. Once the queue is empty, the process evaluation is complete.
      Returns:
      The queue containing the process tasks the need to be evaluated.
    • getEvaluator

      IProcessEvaluator getEvaluator()
      This method returns the evaluator that may be used to evaluate expressions and request information about the current state.
      Returns:
      The evaluator that may be used to evaluate expression.
    • getNode

      This method returns the definition of the node that is currently being processed.
      Returns:
      the definition of the node that is currently being processed.
    • getParentTask

      ITaskModel getParentTask()
      This method returns the parent tasks of the current node. Any new tasks that are created should use this parent.
      Returns:
      the parent tasks of the current node.
    • getTime

      DateTimeValue getTime()
      This method return the time the evaluation started.
      Returns:
      The time the evaluation started, never null.