Package org.apache.bval.jsr.job
Class ValidateBean<T>
- java.lang.Object
-
- org.apache.bval.jsr.job.ValidationJob<T>
-
- org.apache.bval.jsr.job.ValidateBean<T>
-
public final class ValidateBean<T> extends ValidationJob<T>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.bval.jsr.job.ValidationJob
ValidationJob.BeanFrame<B>, ValidationJob.Frame<D extends ElementD<?,?>>, ValidationJob.SproutFrame<D extends ElementD<?,?> & jakarta.validation.metadata.CascadableDescriptor & jakarta.validation.metadata.ContainerDescriptor>
-
-
Field Summary
-
Fields inherited from class org.apache.bval.jsr.job.ValidationJob
groups, ITERABLE_ELEMENT, MAP_VALUE, validatorContext
-
-
Constructor Summary
Constructors Constructor Description ValidateBean(ApacheFactoryContext validatorContext, T bean, Class<?>[] groups)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ValidationJob.Frame<BeanD<T>>
computeBaseFrame()
(package private) ConstraintViolationImpl<T>
createViolation(String messageTemplate, String message, ConstraintValidatorContextImpl<T> context, PathImpl propertyPath)
protected Class<T>
getRootBeanClass()
protected boolean
hasWork()
-
Methods inherited from class org.apache.bval.jsr.job.ValidationJob
createViolation, getResults, noViolations
-
-
-
-
Constructor Detail
-
ValidateBean
ValidateBean(ApacheFactoryContext validatorContext, T bean, Class<?>[] groups)
-
-
Method Detail
-
hasWork
protected boolean hasWork()
- Overrides:
hasWork
in classValidationJob<T>
-
computeBaseFrame
protected ValidationJob.Frame<BeanD<T>> computeBaseFrame()
- Specified by:
computeBaseFrame
in classValidationJob<T>
-
getRootBeanClass
protected Class<T> getRootBeanClass()
- Specified by:
getRootBeanClass
in classValidationJob<T>
-
createViolation
ConstraintViolationImpl<T> createViolation(String messageTemplate, String message, ConstraintValidatorContextImpl<T> context, PathImpl propertyPath)
- Specified by:
createViolation
in classValidationJob<T>
-
-