Package | Description |
---|---|
jakarta.validation |
Top level package of the Jakarta Bean Validation API.
|
jakarta.validation.spi |
Package containing objects specific to the interaction between the
Jakarta Bean Validation bootstrapping process and Jakarta Bean Validation providers.
|
Modifier and Type | Method and Description |
---|---|
ClockProvider |
ValidatorFactory.getClockProvider()
Returns the
ClockProvider instance configured at
initialization time for the ValidatorFactory . |
ClockProvider |
ConstraintValidatorContext.getClockProvider()
Returns the provider for obtaining the current time in the form of a
Clock ,
e.g. |
ClockProvider |
Configuration.getDefaultClockProvider()
Returns an implementation of the
ClockProvider
interface following the default ClockProvider
defined in the specification:
returns a clock representing the current system time and default time
zone.
|
Modifier and Type | Method and Description |
---|---|
ValidatorContext |
ValidatorContext.clockProvider(ClockProvider clockProvider)
Defines the
ClockProvider implementation used by the Validator . |
T |
Configuration.clockProvider(ClockProvider clockProvider)
Defines the clock provider.
|
Modifier and Type | Method and Description |
---|---|
ClockProvider |
ConfigurationState.getClockProvider()
Returns the clock provider for this configuration.
|
Comments to: bean-validation-dev@eclipse.org.
Copyright © 2019,2020 Eclipse Foundation.
Use is subject to EFSL; this spec is based on material that is licensed under the Apache License, version 2.0.