Interface ExpressionEvaluatorFactory
- All Known Implementing Classes:
AbstractAutowiredExpressionEvaluatorFactory
,AbstractObjectResolvableExpressionEvaluatorFactory
,AsIsExpressionEvaluatorFactory
,AssignmentTargetSearchExpressionEvaluatorFactory
,AssociationFromLinkExpressionEvaluatorFactory
,AssociationTargetSearchExpressionEvaluatorFactory
,BaseExpressionEvaluatorFactory
,ConstExpressionEvaluatorFactory
,FunctionExpressionEvaluatorFactory
,GenerateExpressionEvaluatorFactory
,LiteralExpressionEvaluatorFactory
,PathExpressionEvaluatorFactory
,ProportionalExpressionEvaluatorFactory
,ReferenceSearchExpressionEvaluatorFactory
,ScriptExpressionEvaluatorFactory
,SequentialValueExpressionEvaluatorFactory
public interface ExpressionEvaluatorFactory
Creates expression evaluators from their definitions (evaluator elements) and parts of the context
(e.g. output item definition).
- Author:
- semancik
-
Method Summary
Modifier and TypeMethodDescription<V extends PrismValue,
D extends ItemDefinition<?>>
ExpressionEvaluator<V>createEvaluator
(@NotNull Collection<jakarta.xml.bind.JAXBElement<?>> evaluatorElements, D outputDefinition, @Nullable ExpressionProfile expressionProfile, @NotNull ExpressionFactory expressionFactory, @NotNull String contextDescription, @NotNull Task task, @NotNull OperationResult result) Creates an evaluator.Qualified element name (i.e.
-
Method Details
-
getElementName
QName getElementName()Qualified element name (i.e. type) of evaluator elements this factory is able to process. -
createEvaluator
<V extends PrismValue,D extends ItemDefinition<?>> ExpressionEvaluator<V> createEvaluator(@NotNull @NotNull Collection<jakarta.xml.bind.JAXBElement<?>> evaluatorElements, @Nullable D outputDefinition, @Nullable @Nullable ExpressionProfile expressionProfile, @NotNull @NotNull ExpressionFactory expressionFactory, @NotNull @NotNull String contextDescription, @NotNull @NotNull Task task, @NotNull @NotNull OperationResult result) throws SchemaException, ObjectNotFoundException, SecurityViolationException Creates an evaluator.- Parameters:
evaluatorElements
- Definition of the evaluator. May be empty. If it's not, all elements must be of the same type.outputDefinition
- Definition of output values.expressionProfile
- Expression profile to be used during evaluation.expressionFactory
- Necessary for ScriptExpressionEvaluator.- Throws:
SchemaException
ObjectNotFoundException
SecurityViolationException
-