Class FunctionExpressionEvaluator<V extends PrismValue,D extends ItemDefinition<?>>
- java.lang.Object
-
- com.evolveum.midpoint.repo.common.expression.evaluator.AbstractExpressionEvaluator<V,D,FunctionExpressionEvaluatorType>
-
- com.evolveum.midpoint.model.common.expression.evaluator.FunctionExpressionEvaluator<V,D>
-
- All Implemented Interfaces:
ExpressionEvaluator<V>
public class FunctionExpressionEvaluator<V extends PrismValue,D extends ItemDefinition<?>> extends AbstractExpressionEvaluator<V,D,FunctionExpressionEvaluatorType>
Calls specified custom function expression. It is something like a macro: Arguments for the function call (expression themselves) are evaluated into triples, which become additional sources for the function expression. Then the function expression is evaluated and the output triple is returned as an output triple for the function expression evaluation.- Author:
- katkav, semancik
-
-
Field Summary
-
Fields inherited from class com.evolveum.midpoint.repo.common.expression.evaluator.AbstractExpressionEvaluator
expressionEvaluatorBean, outputDefinition, prismContext, protector
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrismValueDeltaSetTriple<V>
evaluate(ExpressionEvaluationContext context, OperationResult parentResult)
Executes the evaluation in a given context.String
shortDebugDump()
Short characterization of the evaluator.-
Methods inherited from class com.evolveum.midpoint.repo.common.expression.evaluator.AbstractExpressionEvaluator
addInternalOrigin, applyValueMetadata, checkEvaluatorProfile, findInSourcesAndVariables, finishOutputTriple, getElementName, getOutputDefinition, getPrismContext, getProtector
-
-
-
-
Method Detail
-
evaluate
public PrismValueDeltaSetTriple<V> evaluate(ExpressionEvaluationContext context, OperationResult parentResult) throws SchemaException, ExpressionEvaluationException, ObjectNotFoundException, CommunicationException, ConfigurationException, SecurityViolationException
Description copied from interface:ExpressionEvaluator
Executes 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
CommunicationException
ConfigurationException
SecurityViolationException
-
shortDebugDump
public String shortDebugDump()
Description copied from interface:ExpressionEvaluator
Short characterization of the evaluator. One line, often only a single word.
-
-