public class Jsr223ScriptEvaluator extends Object implements ScriptEvaluator
Constructor and Description |
---|
Jsr223ScriptEvaluator(String engineName,
PrismContext prismContext,
Protector protector) |
Modifier and Type | Method and Description |
---|---|
<T,V extends PrismValue> |
evaluate(com.evolveum.midpoint.xml.ns._public.common.common_3.ScriptExpressionEvaluatorType expressionType,
ExpressionVariables variables,
ItemDefinition outputDefinition,
com.evolveum.midpoint.xml.ns._public.common.common_3.ScriptExpressionReturnTypeType suggestedReturnType,
ObjectResolver objectResolver,
Collection<FunctionLibrary> functions,
String contextDescription,
Task task,
OperationResult result) |
<T> Object |
evaluateReportScript(String codeString,
ExpressionVariables variables,
ObjectResolver objectResolver,
Collection<FunctionLibrary> functions,
String contextDescription,
OperationResult result) |
String |
getLanguageName()
Returns human readable name of the language that this evaluator supports
|
String |
getLanguageUrl()
Returns URL of the language that this evaluator can handle
|
public Jsr223ScriptEvaluator(String engineName, PrismContext prismContext, Protector protector)
public <T,V extends PrismValue> List<V> evaluate(com.evolveum.midpoint.xml.ns._public.common.common_3.ScriptExpressionEvaluatorType expressionType, ExpressionVariables variables, ItemDefinition outputDefinition, com.evolveum.midpoint.xml.ns._public.common.common_3.ScriptExpressionReturnTypeType suggestedReturnType, ObjectResolver objectResolver, Collection<FunctionLibrary> functions, String contextDescription, Task task, OperationResult result) throws ExpressionEvaluationException, ObjectNotFoundException, ExpressionSyntaxException
evaluate
in interface ScriptEvaluator
ExpressionEvaluationException
ObjectNotFoundException
ExpressionSyntaxException
public <T> Object evaluateReportScript(String codeString, ExpressionVariables variables, ObjectResolver objectResolver, Collection<FunctionLibrary> functions, String contextDescription, OperationResult result) throws ExpressionEvaluationException, ObjectNotFoundException, ExpressionSyntaxException
public String getLanguageName()
ScriptEvaluator
getLanguageName
in interface ScriptEvaluator
public String getLanguageUrl()
ScriptEvaluator
getLanguageUrl
in interface ScriptEvaluator
Copyright © 2016 evolveum. All rights reserved.