Uses of Interface
jakarta.validation.ClockProvider
Package
Description
Top level package of the Jakarta Validation API.
Package containing objects specific to the interaction between the
Jakarta Validation bootstrapping process and Jakarta Validation providers.
-
Uses of ClockProvider in jakarta.validation
Modifier and TypeMethodDescriptionConstraintValidatorContext.getClockProvider()
Returns the provider for obtaining the current time in the form of aClock
, e.g.ValidatorFactory.getClockProvider()
Returns theClockProvider
instance configured at initialization time for theValidatorFactory
.Configuration.getDefaultClockProvider()
Returns an implementation of theClockProvider
interface following the defaultClockProvider
defined in the specification: returns a clock representing the current system time and default time zone.Modifier and TypeMethodDescriptionConfiguration.clockProvider
(ClockProvider clockProvider) Defines the clock provider.ValidatorContext.clockProvider
(ClockProvider clockProvider) Defines theClockProvider
implementation used by theValidator
. -
Uses of ClockProvider in jakarta.validation.spi
Modifier and TypeMethodDescriptionConfigurationState.getClockProvider()
Returns the clock provider for this configuration.