Class LiteralExpressionEvaluator<V extends PrismValue,D extends ItemDefinition<?>> 
java.lang.Object
com.evolveum.midpoint.repo.common.expression.evaluator.AbstractExpressionEvaluator<V,D,Collection<jakarta.xml.bind.JAXBElement<?>>>
  
com.evolveum.midpoint.repo.common.expression.evaluator.LiteralExpressionEvaluator<V,D> 
- All Implemented Interfaces:
- ExpressionEvaluator<V>
public class LiteralExpressionEvaluator<V extends PrismValue,D extends ItemDefinition<?>> 
extends AbstractExpressionEvaluator<V,D,Collection<jakarta.xml.bind.JAXBElement<?>>>  
Always returns zero set with literal value (values) specified in the evaluator. Plus and minus sets are empty.
 Note: using evaluatorElements as "expressionEvaluatorBean" is a bit strange. It is because I am too lazy to find more
 appropriate name for the field. Moreover, for all other uses it really _is_ the expression evaluator bean. So leaving
 fixing this to the future. [pmed]
- 
Field SummaryFields inherited from class com.evolveum.midpoint.repo.common.expression.evaluator.AbstractExpressionEvaluatorexpressionEvaluatorBean, outputDefinition, prismContext, protector
- 
Method SummaryModifier and TypeMethodDescriptionevaluate(ExpressionEvaluationContext context, OperationResult result) Executes the evaluation in a given context.Short characterization of the evaluator.Methods inherited from class com.evolveum.midpoint.repo.common.expression.evaluator.AbstractExpressionEvaluatoraddInternalOrigin, applyValueMetadata, checkEvaluatorProfile, findInSourcesAndVariables, finishOutputTriple, getElementName, getOutputDefinition, getPrismContext, getProtector
- 
Method Details- 
evaluatepublic PrismValueDeltaSetTriple<V> evaluate(ExpressionEvaluationContext context, OperationResult result) throws SchemaException, ExpressionEvaluationException, ObjectNotFoundException, SecurityViolationException, CommunicationException, ConfigurationException Description copied from interface:ExpressionEvaluatorExecutes the evaluation in a given context. The context provides necessary data, evaluator provides definition of processing that should be carried out.- Returns:
- Result of the evaluation in the form of delta set triple (i.e. added, deleted, unchanged values).
- Throws:
- SchemaException
- ExpressionEvaluationException
- ObjectNotFoundException
- SecurityViolationException
- CommunicationException
- ConfigurationException
 
- 
shortDebugDumpDescription copied from interface:ExpressionEvaluatorShort characterization of the evaluator. One line, often only a single word.
 
-