public class VelocityScriptEvaluator extends Object implements ScriptEvaluator
Constructor and Description |
---|
VelocityScriptEvaluator(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) |
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 VelocityScriptEvaluator(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 String getLanguageName()
ScriptEvaluator
getLanguageName
in interface ScriptEvaluator
public String getLanguageUrl()
ScriptEvaluator
getLanguageUrl
in interface ScriptEvaluator
Copyright © 2016 evolveum. All rights reserved.