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 Detail

      • callback

        void callback​(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.