Uses of Interface
jakarta.validation.ClockProvider
Packages that use 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
Methods in jakarta.validation that return ClockProviderModifier 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.Methods in jakarta.validation with parameters of type ClockProviderModifier 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
Methods in jakarta.validation.spi that return ClockProviderModifier and TypeMethodDescriptionConfigurationState.getClockProvider()
Returns the clock provider for this configuration.