Package dev.cel.runtime
Interface Registrar
-
@Deprecated public interface RegistrarDeprecated.Do not use. This interface exists solely for legacy async stack compatibility reasons.An object which registers the functions that aDispatchercalls.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceRegistrar.BinaryFunction<T1,T2>Deprecated.Helper interface for describing binary functions where the type parameters are used to improve compile-time correctness of function bindings.static interfaceRegistrar.FunctionDeprecated.Interface describing the general signature of all CEL custom function implementations.static interfaceRegistrar.UnaryFunction<T>Deprecated.Helper interface for describing unary functions where the type-parameter is used to improve compile-time correctness of function bindings.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description <T> voidadd(java.lang.String overloadId, java.lang.Class<T> argType, Registrar.UnaryFunction<T> function)Deprecated.Adds a unary function to the dispatcher.<T1,T2>
voidadd(java.lang.String overloadId, java.lang.Class<T1> argType1, java.lang.Class<T2> argType2, Registrar.BinaryFunction<T1,T2> function)Deprecated.Adds a binary function to the dispatcher.voidadd(java.lang.String overloadId, java.util.List<java.lang.Class<?>> argTypes, Registrar.Function function)Deprecated.Adds a general function to the dispatcher.
-
-
-
Method Detail
-
add
<T> void add(java.lang.String overloadId, java.lang.Class<T> argType, Registrar.UnaryFunction<T> function)Deprecated.Adds a unary function to the dispatcher.
-
add
<T1,T2> void add(java.lang.String overloadId, java.lang.Class<T1> argType1, java.lang.Class<T2> argType2, Registrar.BinaryFunction<T1,T2> function)Deprecated.Adds a binary function to the dispatcher.
-
add
void add(java.lang.String overloadId, java.util.List<java.lang.Class<?>> argTypes, Registrar.Function function)Deprecated.Adds a general function to the dispatcher.
-
-