public class Jsr223ScriptEvaluator extends Object implements ScriptEvaluator
Constructor and Description |
---|
Jsr223ScriptEvaluator(String engineName,
PrismContext prismContext,
Protector protector) |
Modifier and Type | Method and Description |
---|---|
<T> List<PrismPropertyValue<T>> |
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,
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> List<PrismPropertyValue<T>> 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, OperationResult result) throws ExpressionEvaluationException, ObjectNotFoundException, ExpressionSyntaxException
evaluate
in interface ScriptEvaluator
ExpressionEvaluationException
ObjectNotFoundException
ExpressionSyntaxException
public String getLanguageName()
ScriptEvaluator
getLanguageName
in interface ScriptEvaluator
public String getLanguageUrl()
ScriptEvaluator
getLanguageUrl
in interface ScriptEvaluator
Copyright © 2014 evolveum. All rights reserved.