public interface ConstraintValidatorContext
ConstraintValidatorContext interface without the unnecessary parts.| Modifier and Type | Method and Description | 
|---|---|
| ClockProvider | getClockProvider()Returns the provider for obtaining the current time in the form of a  Clock,
 e.g. | 
| Object | getRootBean()In case of using this constraint validator with  javax.validation.ConstraintValidatorreturns null, because JRS-303 doesn't
 support passing a root bean in their validation context. | 
| default void | messageTemplate(String messageTemplate)Sets a message template to be used for the validation error message. | 
@NonNull ClockProvider getClockProvider()
Clock,
 e.g. when validating the Future and Past constraints.null. If no
 specific provider has been configured during bootstrap, a default implementation using
 the current system time and the current default time zone as returned by
 Clock.systemDefaultZone() will be returned.@Nullable Object getRootBean()
javax.validation.ConstraintValidator returns null, because JRS-303 doesn't
 support passing a root bean in their validation context.