Class ScriptExpressionEvaluator<V extends PrismValue,D extends ItemDefinition<?>>

All Implemented Interfaces:
ExpressionEvaluator<V>

public class ScriptExpressionEvaluator<V extends PrismValue,D extends ItemDefinition<?>> extends AbstractValueTransformationExpressionEvaluator<V,D,ScriptExpressionEvaluatorType>
Executes specified script written e.g. in Groovy, JavaScript, Python, etc. Apache Velocity template language is supported as well, It is a part of Expression and ExpressionEvaluator framework. This class is a bridge between the "relativity" and "script execution" aspects of the script expression evaluation: . ScriptExpression evaluates scripts and ignores all those complex aspects of expressions' relativity, . and AbstractValueTransformationExpressionEvaluator and the super-classes deal with relativity handling (etc) and ignore technical aspects of running Groovy/JS/whatever scripts.
Author:
Radovan Semancik