Interface UnknownTrackingInterpretable


  • @Internal
    public interface UnknownTrackingInterpretable
    An interpretable that allows for tracking unknowns at runtime.

    CEL Library Internals. Do Not Use.

    • Method Detail

      • evalTrackingUnknowns

        java.lang.Object evalTrackingUnknowns​(RuntimeUnknownResolver resolver,
                                              java.util.Optional<? extends CelFunctionResolver> lateBoundFunctionResolver,
                                              java.util.Optional<CelEvaluationListener> listener)
                                       throws CelEvaluationException
        Runs interpretation with the given activation which supplies name/value bindings with the ability to track and resolve unknown variables as they are encountered.

        This method allows for late-binding functions to be provided per-evaluation, which can be useful for binding functions which might have side-effects that are not observable to CEL directly such as recording telemetry or evaluation state in a more granular fashion than a more general evaluation listener might permit.

        Throws:
        CelEvaluationException