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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PrismValueDeltaSetTriple<V>evaluate(ExpressionEvaluationContext context, OperationResult result)Executes the evaluation in a given context.QNamegetElementName()Fully qualified name of the element defining the expression (e.g.StringshortDebugDump()Short characterization of the evaluator.
-
-
-
Method Detail
-
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:
SchemaExceptionExpressionEvaluationExceptionObjectNotFoundExceptionCommunicationExceptionConfigurationExceptionSecurityViolationException
-
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.
-
-