Package | Description |
---|---|
org.hibernate.validator |
Bootstrap classes HibernateValidator and HibernateValidatorConfiguration which uniquely identify Hibernate Validator
and allow to configure it.
|
org.hibernate.validator.internal.engine |
Implementations for the core interfaces of JSR-380.
|
org.hibernate.validator.internal.engine.constraintvalidation |
Classes dealing with the representation of constraints and the management/instantitation of constraint
validators.
|
org.hibernate.validator.internal.engine.scripting |
Classes related to the evaluation of script with the JSR 223 ScriptEngine.
|
org.hibernate.validator.internal.util.logging |
Logging classes.
|
org.hibernate.validator.spi.scripting |
This package provides support for customization of the script evaluation for
ScriptAssert
and ParameterScriptAssert constraints. |
Modifier and Type | Method and Description |
---|---|
ScriptEvaluatorFactory |
HibernateValidatorFactory.getScriptEvaluatorFactory()
Returns the factory responsible for creating
ScriptEvaluator s used to
evaluate script expressions of ScriptAssert and ParameterScriptAssert
constraints. |
Modifier and Type | Method and Description |
---|---|
HibernateValidatorConfiguration |
HibernateValidatorConfiguration.scriptEvaluatorFactory(ScriptEvaluatorFactory scriptEvaluatorFactory)
Allows to specify a custom
ScriptEvaluatorFactory responsible for creating ScriptEvaluator s
used to evaluate script expressions for ScriptAssert and ParameterScriptAssert constraints. |
Modifier and Type | Method and Description |
---|---|
ScriptEvaluatorFactory |
ConfigurationImpl.getScriptEvaluatorFactory() |
ScriptEvaluatorFactory |
ValidatorFactoryImpl.getScriptEvaluatorFactory() |
Modifier and Type | Method and Description |
---|---|
HibernateValidatorConfiguration |
ConfigurationImpl.scriptEvaluatorFactory(ScriptEvaluatorFactory scriptEvaluatorFactory) |
Modifier and Type | Method and Description |
---|---|
static HibernateConstraintValidatorInitializationContextImpl |
HibernateConstraintValidatorInitializationContextImpl.of(HibernateConstraintValidatorInitializationContextImpl defaultContext,
ScriptEvaluatorFactory scriptEvaluatorFactory,
ClockProvider clockProvider,
Duration temporalValidationTolerance) |
Constructor and Description |
---|
HibernateConstraintValidatorInitializationContextImpl(ScriptEvaluatorFactory scriptEvaluatorFactory,
ClockProvider clockProvider,
Duration temporalValidationTolerance) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultScriptEvaluatorFactory
Factory responsible for the creation of JSR 223 based
ScriptEngineScriptEvaluator s. |
Modifier and Type | Method and Description |
---|---|
void |
Log_$logger.usingScriptEvaluatorFactory(Class<? extends ScriptEvaluatorFactory> scriptEvaluatorFactoryClass) |
void |
Log.usingScriptEvaluatorFactory(Class<? extends ScriptEvaluatorFactory> scriptEvaluatorFactoryClass) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractCachingScriptEvaluatorFactory
Basic cacheable factory responsible for the creation of
ScriptEvaluator s. |
Copyright © 2021 JBoss by Red Hat. All rights reserved.