Interface ValidatorConfiguration
- All Superinterfaces:
io.micronaut.core.convert.ConversionServiceProvider
- All Known Implementing Classes:
DefaultValidatorConfiguration
public interface ValidatorConfiguration
extends io.micronaut.core.convert.ConversionServiceProvider
Configuration for the
Validator
.- Since:
- 1.2
- Author:
- graemerocher
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault io.micronaut.core.beans.BeanIntrospector
The bean introspector.@NonNull jakarta.validation.ClockProvider
@NonNull jakarta.validation.ConstraintValidatorFactory
@NonNull ConstraintValidatorRegistry
@NonNull jakarta.validation.ClockProvider
@NonNull jakarta.validation.MessageInterpolator
@NonNull jakarta.validation.TraversableResolver
@NonNull io.micronaut.context.ExecutionHandleLocator
The execution handler locator to use.@NonNull jakarta.validation.MessageInterpolator
@NonNull jakarta.validation.TraversableResolver
@NonNull ValueExtractorRegistry
Methods inherited from interface io.micronaut.core.convert.ConversionServiceProvider
getConversionService
-
Field Details
-
PREFIX
The prefix to use for config.- See Also:
-
ENABLED
Whether the validator is enabled.- See Also:
-
-
Method Details
-
getConstraintValidatorRegistry
- Returns:
- The constraint registry to use.
-
getConstraintValidatorFactory
@NonNull @NonNull jakarta.validation.ConstraintValidatorFactory getConstraintValidatorFactory()- Returns:
- The constraint factory to use.
- Since:
- 4.3.0
-
getValueExtractorRegistry
- Returns:
- The value extractor registry
-
getClockProvider
@NonNull @NonNull jakarta.validation.ClockProvider getClockProvider()- Returns:
- The clock provider
-
getDefaultClockProvider
@NonNull @NonNull jakarta.validation.ClockProvider getDefaultClockProvider()- Returns:
- The default clock provider
-
getTraversableResolver
@NonNull @NonNull jakarta.validation.TraversableResolver getTraversableResolver()- Returns:
- The traversable resolver to use
-
getDefaultTraversableResolver
@NonNull @NonNull jakarta.validation.TraversableResolver getDefaultTraversableResolver()- Returns:
- The default traversable resolver to use
-
getMessageInterpolator
@NonNull @NonNull jakarta.validation.MessageInterpolator getMessageInterpolator()- Returns:
- The message interpolator
-
getDefaultMessageInterpolator
@NonNull @NonNull jakarta.validation.MessageInterpolator getDefaultMessageInterpolator()- Returns:
- The default message interpolator
-
getExecutionHandleLocator
@NonNull @NonNull io.micronaut.context.ExecutionHandleLocator getExecutionHandleLocator()The execution handler locator to use.- Returns:
- The locator
-
getBeanIntrospector
default io.micronaut.core.beans.BeanIntrospector getBeanIntrospector()The bean introspector.- Returns:
- The introspector
-