Interface CelEvaluationListener

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    @ThreadSafe
    public interface CelEvaluationListener
    Functional interface for a callback method invoked by the runtime. Implementations must ensure that its instances are unconditionally thread-safe.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void callback​(dev.cel.common.ast.CelExpr expr, java.lang.Object evaluatedResult)
      Callback method invoked by the CEL runtime as evaluation progresses through the AST.
    • Method Detail

      • callback

        void callback​(dev.cel.common.ast.CelExpr expr,
                      java.lang.Object evaluatedResult)
        Callback method invoked by the CEL runtime as evaluation progresses through the AST.
        Parameters:
        expr - CelExpr that was evaluated to produce the evaluated result.
        evaluatedResult - Evaluated result.