Package io.dialob.rule.parser.function
Interface FunctionRegistry.FunctionCallback
-
- Enclosing interface:
- FunctionRegistry
public static interface FunctionRegistry.FunctionCallback
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidfailed(@NotNull String error)Called if there was error in function executionvoidsucceeded(Object result)Called when function execution completes normally.
-
-
-
Method Detail
-
succeeded
void succeeded(Object result)
Called when function execution completes normally.- Parameters:
result- return value from function
-
failed
void failed(@NotNull @NotNull String error)Called if there was error in function execution- Parameters:
error- error message from execution
-
-