Class LazyEvaluator

  • All Implemented Interfaces:
    IEvaluator

    public class LazyEvaluator
    extends AbstractEvaluator
    This type allows the evaluator to be loaded only if it is needed. ie. if we have no watches or conditions there is no need for an evaluator.
    • Method Detail

      • evaluateExpression

        public Object evaluateExpression​(String expression,
                                         Map<String,​Object> values)
                                  throws Throwable
        Description copied from interface: IEvaluator
        Evaluate an expression to the value.
        Parameters:
        expression - the expression to evaluate
        values - the variables that the expression can evaluate against
        Returns:
        the result of the expression
        Throws:
        Throwable - if the expression fails