Package dev.cel.runtime
Interface Registrar
-
- All Known Implementing Classes:
DefaultDispatcher
@Internal public interface Registrar
An object which registers the functions that aDispatchercalls.CEL Library Internals. Do Not Use.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceRegistrar.BinaryFunction<T1,T2>Interface to a typed binary function without activation argument.static interfaceRegistrar.FunctionInterface to a general function.static interfaceRegistrar.UnaryFunction<T>Interface to a typed unary function without activation argument.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> voidadd(java.lang.String overloadId, java.lang.Class<T> argType, Registrar.UnaryFunction<T> function)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)Adds a binary function to the dispatcher.voidadd(java.lang.String overloadId, java.util.List<java.lang.Class<?>> argTypes, Registrar.Function function)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)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)Adds a binary function to the dispatcher.
-
add
void add(java.lang.String overloadId, java.util.List<java.lang.Class<?>> argTypes, Registrar.Function function)Adds a general function to the dispatcher.
-
-