Interface GlobalResolver

  • All Known Subinterfaces:
    ActivationWrapper
    All Known Implementing Classes:
    Activation
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    @Internal
    public interface GlobalResolver
    An interface describing an object that can perform a lookup on a given name, returning the value associated with the so-named global variable.

    CEL Library Internals. Do Not Use.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static GlobalResolver EMPTY
      An empty binder which resolves everything to null.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      @Nullable java.lang.Object resolve​(java.lang.String name)
      Resolves the given name to its value.
    • Field Detail

      • EMPTY

        static final GlobalResolver EMPTY
        An empty binder which resolves everything to null.
    • Method Detail

      • resolve

        @Nullable java.lang.Object resolve​(java.lang.String name)
        Resolves the given name to its value. Returns null if resolution fails.