Class ScriptExpression
java.lang.Object
com.evolveum.midpoint.model.common.expression.script.ScriptExpression
FIXME review this description
The expressions should be created by ExpressionFactory. They expect correct setting of
expression evaluator and proper conversion form the XML ExpressionType. Factory does this.
FIXME resolve the duplication with
ScriptExpressionEvaluationContext- Author:
- Radovan Semancik
-
Method Summary
Modifier and TypeMethodDescription<V extends PrismValue>
@NotNull List<V>voidsetExpressionProfile(ExpressionProfile expressionProfile) voidsetFunctionLibraryBindings(Collection<FunctionLibraryBinding> functionLibraryBindings) voidsetObjectResolver(ObjectResolver objectResolver) voidsetOutputDefinition(ItemDefinition<?> outputDefinition) voidsetPrismContext(PrismContext prismContext) toString()
-
Method Details
-
getOutputDefinition
-
setOutputDefinition
-
getObjectResolver
-
setObjectResolver
-
getFunctionLibraryBindings
-
setFunctionLibraryBindings
-
getExpressionProfile
-
setExpressionProfile
-
getPrismContext
-
setPrismContext
-
evaluate
@NotNull public <V extends PrismValue> @NotNull List<V> evaluate(ScriptExpressionEvaluationContext context) throws ExpressionEvaluationException, ObjectNotFoundException, SchemaException, CommunicationException, ConfigurationException, SecurityViolationException -
toString
-