Class VelocityScriptEvaluator
java.lang.Object
com.evolveum.midpoint.model.common.expression.script.AbstractScriptEvaluator
com.evolveum.midpoint.model.common.expression.script.velocity.VelocityScriptEvaluator
- All Implemented Interfaces:
- ScriptEvaluator
Expression evaluator that is using Apache Velocity engine.
- 
Constructor SummaryConstructorsConstructorDescriptionVelocityScriptEvaluator(PrismContext prismContext, Protector protector, LocalizationService localizationService) 
- 
Method SummaryModifier and TypeMethodDescription@NotNull ObjectevaluateInternal(@NotNull String codeString, @NotNull ScriptExpressionEvaluationContext context) Executes the evaluation.Returns human readable name of the language that this evaluator supports@NotNull StringReturns (canonical) URL of the language that this evaluator can handleMethods inherited from class com.evolveum.midpoint.model.common.expression.script.AbstractScriptEvaluatordoesSupportRestrictions, evaluate, getLocalizationService, getPrismContext, getProtector, prepareScriptVariablesValueMapMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.model.common.expression.script.ScriptEvaluatorisInitialized
- 
Constructor Details- 
VelocityScriptEvaluatorpublic VelocityScriptEvaluator(PrismContext prismContext, Protector protector, LocalizationService localizationService) 
 
- 
- 
Method Details- 
evaluateInternal@NotNull public @NotNull Object evaluateInternal(@NotNull @NotNull String codeString, @NotNull @NotNull ScriptExpressionEvaluationContext context) throws ExpressionEvaluationException, ObjectNotFoundException, SchemaException, CommunicationException, ConfigurationException, SecurityViolationException Description copied from class:AbstractScriptEvaluatorExecutes the evaluation. Responsible for incrementing respectiveInternalCounters.
- 
getLanguageNameDescription copied from interface:ScriptEvaluatorReturns human readable name of the language that this evaluator supports
- 
getLanguageUrlDescription copied from interface:ScriptEvaluatorReturns (canonical) URL of the language that this evaluator can handle
 
-