Interface IValueChangeListener

    • Method Detail

      • notifyChanged

        void notifyChanged​(IDecisionVariable variable,
                           Value oldValue,
                           IAssignmentState oldState,
                           IValueChangeListener.ChangeKind kind)
        Called if the value of a variable has been modified.
        Parameters:
        variable - the modified variable
        oldValue - the value of variable before the change (may be null)
        oldState - the old state of the variable before the change
        kind - the change kind
      • notifyUnresolved

        void notifyUnresolved​(IDecisionVariable variable)
        Called if an assignment to the given variable failed as the defining expression cannot be evaluated, e.g., due to an undefined variable.
        Parameters:
        variable - the variable that the evaluator was about to modify