| Package | Description |
|---|---|
| javax.validation |
Top level package of the Bean Validation API.
|
| javax.validation.spi |
Package containing objects specific to the interaction between the
Bean Validation bootstrapping process and Bean Validation providers.
|
| Modifier and Type | Method and Description |
|---|---|
ClockProvider |
ConstraintValidatorContext.getClockProvider()
Returns the provider for obtaining the current time in the form of a
Clock,
e.g. |
ClockProvider |
ValidatorFactory.getClockProvider()
Returns the
ClockProvider instance configured at
initialization time for the ValidatorFactory. |
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 |
|---|---|
T |
Configuration.clockProvider(ClockProvider clockProvider)
Defines the clock provider.
|
ValidatorContext |
ValidatorContext.clockProvider(ClockProvider clockProvider)
Defines the
ClockProvider implementation used by the Validator. |
| Modifier and Type | Method and Description |
|---|---|
ClockProvider |
ConfigurationState.getClockProvider()
Returns the clock provider for this configuration.
|
Copyright © 2007-2017 Red Hat Inc. All Rights Reserved. Released under the Apache Software License 2.0.