Interface ExpressionEvaluator<V extends PrismValue>
- All Known Implementing Classes:
AbstractExpressionEvaluator
,AbstractSearchExpressionEvaluator
,AbstractValueTransformationExpressionEvaluator
,AsIsExpressionEvaluator
,AssignmentTargetSearchExpressionEvaluator
,AssociationFromLinkExpressionEvaluator
,AssociationTargetSearchExpressionEvaluator
,ConstExpressionEvaluator
,FunctionExpressionEvaluator
,GenerateExpressionEvaluator
,LiteralExpressionEvaluator
,PathExpressionEvaluator
,ProportionalExpressionEvaluator
,ReferenceSearchExpressionEvaluator
,ScriptExpressionEvaluator
,SequentialValueExpressionEvaluator
public interface ExpressionEvaluator<V extends PrismValue>
Represents an expression evaluator (e.g. literal, path, script, assignmentTargetSearch, etc).
Can apply it in given evaluation context.
- Author:
- Radovan Semancik
-
Method Summary
Modifier and TypeMethodDescriptionevaluate
(ExpressionEvaluationContext context, OperationResult result) Executes the evaluation in a given context.Fully qualified name of the element defining the expression (e.g.Short characterization of the evaluator.
-
Method Details
-
evaluate
PrismValueDeltaSetTriple<V> evaluate(ExpressionEvaluationContext context, OperationResult result) throws SchemaException, ExpressionEvaluationException, ObjectNotFoundException, CommunicationException, ConfigurationException, SecurityViolationException Executes the evaluation in a given context. The context provides necessary data, evaluator provides definition of processing that should be carried out.- Returns:
- Result of the evaluation in the form of delta set triple (i.e. added, deleted, unchanged values).
- Throws:
SchemaException
ExpressionEvaluationException
ObjectNotFoundException
CommunicationException
ConfigurationException
SecurityViolationException
-
getElementName
QName getElementName()Fully qualified name of the element defining the expression (e.g. c:path). -
shortDebugDump
String shortDebugDump()Short characterization of the evaluator. One line, often only a single word.
-