Class AssociationFromLinkExpressionEvaluatorFactory
java.lang.Object
com.evolveum.midpoint.repo.common.expression.BaseExpressionEvaluatorFactory
com.evolveum.midpoint.repo.common.expression.AbstractObjectResolvableExpressionEvaluatorFactory
com.evolveum.midpoint.model.common.expression.evaluator.AssociationFromLinkExpressionEvaluatorFactory
- All Implemented Interfaces:
ExpressionEvaluatorFactory
public class AssociationFromLinkExpressionEvaluatorFactory
extends AbstractObjectResolvableExpressionEvaluatorFactory
- Author:
- semancik
-
Constructor Summary
ConstructorDescriptionAssociationFromLinkExpressionEvaluatorFactory
(ExpressionFactory expressionFactory, Protector protector) -
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.Methods inherited from class com.evolveum.midpoint.repo.common.expression.AbstractObjectResolvableExpressionEvaluatorFactory
getExpressionFactory, getLocalizationService, getObjectResolver, getSecurityContextManager, register, setObjectResolver
Methods inherited from class com.evolveum.midpoint.repo.common.expression.BaseExpressionEvaluatorFactory
getSingleEvaluatorBean, getSingleEvaluatorBeanRequired
-
Constructor Details
-
AssociationFromLinkExpressionEvaluatorFactory
public AssociationFromLinkExpressionEvaluatorFactory(ExpressionFactory expressionFactory, Protector protector)
-
-
Method Details
-
getElementName
Description copied from interface:ExpressionEvaluatorFactory
Qualified element name (i.e. type) of evaluator elements this factory is able to process. -
createEvaluator
public <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 Description copied from interface:ExpressionEvaluatorFactory
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
-