Class GenerateExpressionEvaluatorFactory
- java.lang.Object
-
- com.evolveum.midpoint.repo.common.expression.BaseExpressionEvaluatorFactory
-
- com.evolveum.midpoint.repo.common.expression.AbstractObjectResolvableExpressionEvaluatorFactory
-
- com.evolveum.midpoint.model.common.expression.evaluator.GenerateExpressionEvaluatorFactory
-
- All Implemented Interfaces:
ExpressionEvaluatorFactory
public class GenerateExpressionEvaluatorFactory extends AbstractObjectResolvableExpressionEvaluatorFactory
This is NOT autowired evaluator.- Author:
- semancik
-
-
Constructor Summary
Constructors Constructor Description GenerateExpressionEvaluatorFactory(ExpressionFactory expressionFactory, Protector protector, ValuePolicyProcessor valuePolicyProcessor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <V extends PrismValue,D extends ItemDefinition<?>>
ExpressionEvaluator<V>createEvaluator(Collection<javax.xml.bind.JAXBElement<?>> evaluatorElements, D outputDefinition, ExpressionProfile expressionProfile, ExpressionFactory expressionFactory, String contextDescription, Task task, OperationResult result)
Creates an evaluator.QName
getElementName()
Qualified element name (i.e.-
Methods inherited from class com.evolveum.midpoint.repo.common.expression.AbstractObjectResolvableExpressionEvaluatorFactory
getExpressionFactory, getObjectResolver, register, setObjectResolver
-
Methods inherited from class com.evolveum.midpoint.repo.common.expression.BaseExpressionEvaluatorFactory
getSingleEvaluatorBean, getSingleEvaluatorBeanRequired
-
-
-
-
Constructor Detail
-
GenerateExpressionEvaluatorFactory
public GenerateExpressionEvaluatorFactory(ExpressionFactory expressionFactory, Protector protector, ValuePolicyProcessor valuePolicyProcessor)
-
-
Method Detail
-
getElementName
public QName 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(Collection<javax.xml.bind.JAXBElement<?>> evaluatorElements, D outputDefinition, ExpressionProfile expressionProfile, ExpressionFactory expressionFactory, String contextDescription, Task task, OperationResult result) throws SchemaException
Description copied from interface:ExpressionEvaluatorFactory
Creates an evaluator.- Parameters:
evaluatorElements
- Definition of the evaluator. All elements must be of the same type.outputDefinition
- Definition of output values.expressionProfile
- Expression profile to be used during evaluation.expressionFactory
- TODO - why?- Throws:
SchemaException
-
-