public class XPathScriptEvaluator extends Object implements ScriptEvaluator
Modifier and Type | Field and Description |
---|---|
static String |
XPATH_LANGUAGE_URL |
Constructor and Description |
---|
XPathScriptEvaluator(PrismContext prismContext) |
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
|
static String |
lookForMessage(Throwable e) |
public static String XPATH_LANGUAGE_URL
public XPathScriptEvaluator(PrismContext prismContext)
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.