public static interface MessageInterpolator.Context
Modifier and Type | Method and Description |
---|---|
ConstraintDescriptor<?> |
getConstraintDescriptor() |
Object |
getValidatedValue() |
<T> T |
unwrap(Class<T> type)
Returns an instance of the specified type allowing access to
provider-specific APIs.
|
ConstraintDescriptor<?> getConstraintDescriptor()
ConstraintDescriptor
corresponding to the constraint being
validatedObject getValidatedValue()
<T> T unwrap(Class<T> type)
ValidationException
is thrown.T
- the type of the object to be returnedtype
- the class of the object to be returnedValidationException
- if the provider does not support the callComments to: bean-validation-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation.
Use is subject to EFSL; this spec is based on material that is licensed under the Apache License, version 2.0.