Class LibraryFunctionExecutor
java.lang.Object
com.evolveum.midpoint.model.common.expression.functions.LibraryFunctionExecutor
Executes a function from a function library.
Serves as an interface between scripts (e.g., in Groovy) and a
FunctionLibrary
.
The processing is somewhat similar to the one in FunctionExpressionEvaluator
.-
Method Summary
Modifier and TypeMethodDescription<V extends PrismValue,
D extends ItemDefinition<?>>
ObjectThis method is invoked by the scripts.
-
Method Details
-
execute
public <V extends PrismValue,D extends ItemDefinition<?>> Object execute(@NotNull @NotNull String functionName, @Nullable @Nullable Map<String, Object> rawParams) throws ExpressionEvaluationExceptionThis method is invoked by the scripts. It is supposed to be only public method exposed by this class.- Throws:
ExpressionEvaluationException
-