Class InternalFunctionBinder


  • @Internal
    public final class InternalFunctionBinder
    extends java.lang.Object
    A helper to create CelFunctionBinding instances with sensitive controls, such as to toggle the strictness of the function.

    CEL Library Internals. Do Not Use.

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T> CelFunctionBinding from​(java.lang.String overloadId, java.lang.Class<T> arg, CelFunctionOverload.Unary<T> impl, boolean isStrict)
      Create a unary function binding from the overloadId, arg, impl, and isStrict.
      static CelFunctionBinding from​(java.lang.String overloadId, java.lang.Iterable<java.lang.Class<?>> argTypes, CelFunctionOverload impl, boolean isStrict)
      Create a function binding from the overloadId, argTypes, impl and isStrict.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • from

        public static <T> CelFunctionBinding from​(java.lang.String overloadId,
                                                  java.lang.Class<T> arg,
                                                  CelFunctionOverload.Unary<T> impl,
                                                  boolean isStrict)
        Create a unary function binding from the overloadId, arg, impl, and isStrict.
      • from

        public static CelFunctionBinding from​(java.lang.String overloadId,
                                              java.lang.Iterable<java.lang.Class<?>> argTypes,
                                              CelFunctionOverload impl,
                                              boolean isStrict)
        Create a function binding from the overloadId, argTypes, impl and isStrict.