Function is a CloudEvents Expression Language function definition and implementation.
| 9 | * Function is a CloudEvents Expression Language function definition and implementation. |
| 10 | */ |
| 11 | public interface Function extends FunctionSignature { |
| 12 | |
| 13 | /** |
| 14 | * Invoke the function logic. |
| 15 | * |
| 16 | * @param ctx the evaluation context |
| 17 | * @param evaluationRuntime the evaluation runtime |
| 18 | * @param event the expression input event |
| 19 | * @param arguments the arguments passed to this function. Note: the arguments are already cast to the appropriate type declared in the signature |
| 20 | * @return the return value of the function |
| 21 | */ |
| 22 | EvaluationResult invoke(EvaluationContext ctx, EvaluationRuntime evaluationRuntime, CloudEvent event, List<Object> arguments); |
| 23 | |
| 24 | } |
no outgoing calls
no test coverage detected