Class ScriptExpressionEvaluatorFactory
- java.lang.Object
-
- com.evolveum.midpoint.repo.common.expression.BaseExpressionEvaluatorFactory
-
- com.evolveum.midpoint.repo.common.expression.AbstractAutowiredExpressionEvaluatorFactory
-
- com.evolveum.midpoint.model.common.expression.script.ScriptExpressionEvaluatorFactory
-
- All Implemented Interfaces:
ExpressionEvaluatorFactory
@Component public class ScriptExpressionEvaluatorFactory extends AbstractAutowiredExpressionEvaluatorFactory
- Author:
- semancik
-
-
Field Summary
Fields Modifier and Type Field Description static QName
ELEMENT_NAME
-
Constructor Summary
Constructors Constructor Description ScriptExpressionEvaluatorFactory()
ScriptExpressionEvaluatorFactory(ScriptExpressionFactory scriptExpressionFactory, SecurityContextManager securityContextManager, 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.ScriptExpressionFactory
getScriptExpressionFactory()
-
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
-
ScriptExpressionEvaluatorFactory
public ScriptExpressionEvaluatorFactory()
-
ScriptExpressionEvaluatorFactory
public ScriptExpressionEvaluatorFactory(ScriptExpressionFactory scriptExpressionFactory, SecurityContextManager securityContextManager, 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, SecurityViolationException
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
SecurityViolationException
-
getScriptExpressionFactory
public ScriptExpressionFactory getScriptExpressionFactory()
-
-