Interface ValidatorConfiguration
-
- All Known Implementing Classes:
DefaultValidatorConfiguration
public interface ValidatorConfiguration
Configuration for theValidator
.- Since:
- 1.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.validation.ClockProvider
getClockProvider()
ConstraintValidatorRegistry
getConstraintValidatorRegistry()
io.micronaut.context.ExecutionHandleLocator
getExecutionHandleLocator()
The execution handler locator to use.io.micronaut.context.MessageSource
getMessageSource()
javax.validation.TraversableResolver
getTraversableResolver()
ValueExtractorRegistry
getValueExtractorRegistry()
-
-
-
Field Detail
-
PREFIX
static final java.lang.String PREFIX
The prefix to use for config.- See Also:
- Constant Field Values
-
ENABLED
static final java.lang.String ENABLED
Whether the validator is enabled.- See Also:
- Constant Field Values
-
-
Method Detail
-
getConstraintValidatorRegistry
@NonNull ConstraintValidatorRegistry getConstraintValidatorRegistry()
- Returns:
- The constraint registry to use.
-
getValueExtractorRegistry
@NonNull ValueExtractorRegistry getValueExtractorRegistry()
- Returns:
- The value extractor registry
-
getClockProvider
@NonNull javax.validation.ClockProvider getClockProvider()
- Returns:
- The clock provider
-
getTraversableResolver
@NonNull javax.validation.TraversableResolver getTraversableResolver()
- Returns:
- The traversable resolver to use
-
getMessageSource
@NonNull io.micronaut.context.MessageSource getMessageSource()
- Returns:
- The message source
-
getExecutionHandleLocator
@NonNull io.micronaut.context.ExecutionHandleLocator getExecutionHandleLocator()
The execution handler locator to use.- Returns:
- The locator
-
-