Class ConstExpressionEvaluatorFactory
- java.lang.Object
-
- com.evolveum.midpoint.repo.common.expression.BaseExpressionEvaluatorFactory
-
- com.evolveum.midpoint.repo.common.expression.AbstractAutowiredExpressionEvaluatorFactory
-
- com.evolveum.midpoint.model.common.expression.evaluator.ConstExpressionEvaluatorFactory
-
- All Implemented Interfaces:
ExpressionEvaluatorFactory
@Component public class ConstExpressionEvaluatorFactory extends AbstractAutowiredExpressionEvaluatorFactory
- Author:
- semancik
-
-
Field Summary
Fields Modifier and Type Field Description static QName
ELEMENT_NAME
-
Constructor Summary
Constructors Constructor Description ConstExpressionEvaluatorFactory()
ConstExpressionEvaluatorFactory(Protector protector, ConstantsManager constantsManager, PrismContext prismContext)
-
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.AbstractAutowiredExpressionEvaluatorFactory
register
-
Methods inherited from class com.evolveum.midpoint.repo.common.expression.BaseExpressionEvaluatorFactory
getSingleEvaluatorBean, getSingleEvaluatorBeanRequired
-
-
-
-
Field Detail
-
ELEMENT_NAME
public static final QName ELEMENT_NAME
-
-
Constructor Detail
-
ConstExpressionEvaluatorFactory
public ConstExpressionEvaluatorFactory()
-
ConstExpressionEvaluatorFactory
public ConstExpressionEvaluatorFactory(Protector protector, ConstantsManager constantsManager, PrismContext prismContext)
-
-
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
-
-