Package dev.cel.runtime
Interface CelFunctionOverload
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@Immutable @FunctionalInterface public interface CelFunctionOverloadInterface describing the general signature of all CEL custom function implementations.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceCelFunctionOverload.Binary<T1,T2>Helper interface for describing binary functions where the type parameters are used to improve compile-time correctness of function bindings.static interfaceCelFunctionOverload.Unary<T>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 Modifier and Type Method Description java.lang.Objectapply(java.lang.Object[] args)Evaluate a set of arguments throwing aCelEvaluationExceptionon error.
-
-
-
Method Detail
-
apply
java.lang.Object apply(java.lang.Object[] args) throws CelEvaluationExceptionEvaluate a set of arguments throwing aCelEvaluationExceptionon error.- Throws:
CelEvaluationException
-
-