Top Description Interfaces Classes
[default module]

Package org.hibernate.validator.spi.scripting


This package provides support for customization of the script evaluation for ScriptAssert and ParameterScriptAssert constraints.

This package is part of the public Hibernate Validator SPI.

Author
Marko Bekhta

Interface Summary

Modifier and TypeInterface and Description
public interface
ScriptEvaluator

Used to evaluate script expressions for ScriptAssert and ParameterScriptAssert constraints.

public interface
ScriptEvaluatorFactory

Factory used to initialize the ScriptEvaluators required to evaluate script expressions defined in ScriptAssert and ParameterScriptAssert constraints.

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractCachingScriptEvaluatorFactory

Basic cacheable factory responsible for the creation of ScriptEvaluators.

public class
ScriptEngineScriptEvaluator

A wrapper around JSR 223 ScriptEngines.

public class
ScriptEvaluationException

Exception raised when an error occurs during the evaluation of a script.

public class
ScriptEvaluatorNotFoundException

Exception raised when a script evaluator cannot be found for a given language.