use of com.evolveum.midpoint.model.impl.scripting.ExecutionContext in project midpoint by Evolveum.
the class ModelController method evaluateExpression.
@Override
public ScriptExecutionResult evaluateExpression(ScriptingExpressionType expression, Task task, OperationResult result) throws ScriptExecutionException, SchemaException, SecurityViolationException {
checkScriptingAuthorization(result);
ExecutionContext executionContext = scriptingExpressionEvaluator.evaluateExpression(expression, task, result);
return executionContext.toExecutionResult();
}
Aggregations