Class ScriptExpression
- java.lang.Object
-
- com.evolveum.midpoint.model.common.expression.script.ScriptExpression
-
public class ScriptExpression extends Object
The expressions should be created by ExpressionFactory. They expect correct setting of expression evaluator and proper conversion form the XML ExpressionType. Factory does this.- Author:
- Radovan Semancik
-
-
Method Summary
-
-
-
Method Detail
-
getOutputDefinition
public ItemDefinition getOutputDefinition()
-
setOutputDefinition
public void setOutputDefinition(ItemDefinition outputDefinition)
-
getObjectResolver
public ObjectResolver getObjectResolver()
-
setObjectResolver
public void setObjectResolver(ObjectResolver objectResolver)
-
getFunctions
public Collection<FunctionLibrary> getFunctions()
-
setFunctions
public void setFunctions(Collection<FunctionLibrary> functions)
-
getExpressionProfile
public ExpressionProfile getExpressionProfile()
-
setExpressionProfile
public void setExpressionProfile(ExpressionProfile expressionProfile)
-
getScriptExpressionProfile
public ScriptExpressionProfile getScriptExpressionProfile()
-
setScriptExpressionProfile
public void setScriptExpressionProfile(ScriptExpressionProfile scriptExpressionProfile)
-
setAdditionalConvertor
public void setAdditionalConvertor(Function<Object,Object> additionalConvertor)
-
getPrismContext
public PrismContext getPrismContext()
-
setPrismContext
public void setPrismContext(PrismContext prismContext)
-
evaluate
@Deprecated public <V extends PrismValue> List<V> evaluate(ExpressionVariables variables, ScriptExpressionReturnTypeType suggestedReturnType, boolean useNew, String contextDescription, Task task, OperationResult result) throws ExpressionEvaluationException, ObjectNotFoundException, SchemaException, CommunicationException, ConfigurationException, SecurityViolationException
Deprecated.
-
evaluate
public <V extends PrismValue> List<V> evaluate(ScriptExpressionEvaluationContext context) throws ExpressionEvaluationException, ObjectNotFoundException, SchemaException, CommunicationException, ConfigurationException, SecurityViolationException
-
-