Package org.apache.bval.jsr.job
Class ValidateParameters<E extends Executable,T>
- java.lang.Object
-
- org.apache.bval.jsr.job.ValidationJob<T>
-
- org.apache.bval.jsr.job.ValidateExecutable<E,T>
-
- org.apache.bval.jsr.job.ValidateParameters<E,T>
-
- Direct Known Subclasses:
ValidateParameters.ForConstructor
,ValidateParameters.ForMethod
public abstract class ValidateParameters<E extends Executable,T> extends ValidateExecutable<E,T>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ValidateParameters.ForConstructor<T>
static class
ValidateParameters.ForMethod<T>
(package private) class
ValidateParameters.ParametersFrame
-
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 Modifier and Type Field Description protected T
object
protected Lazy<List<String>>
parameterNames
-
Fields inherited from class org.apache.bval.jsr.job.ValidateExecutable
executable
-
Fields inherited from class org.apache.bval.jsr.job.ValidationJob
groups, ITERABLE_ELEMENT, MAP_VALUE, validatorContext
-
-
Constructor Summary
Constructors Constructor Description ValidateParameters(ApacheFactoryContext validatorContext, T object, E executable, Object[] parameterValues, Class<?>[] groups, Meta<E> meta)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected ValidationJob.Frame<?>
computeBaseFrame()
(package private) ConstraintViolationImpl<T>
createViolation(String messageTemplate, String message, ConstraintValidatorContextImpl<T> context, PathImpl propertyPath)
protected abstract jakarta.validation.metadata.ExecutableDescriptor
describe()
protected abstract List<String>
getParameterNames(jakarta.validation.ParameterNameProvider parameterNameProvider)
protected abstract T
getRootBean()
protected boolean
hasWork()
-
Methods inherited from class org.apache.bval.jsr.job.ValidateExecutable
createBasePath
-
Methods inherited from class org.apache.bval.jsr.job.ValidationJob
createViolation, getResults, getRootBeanClass, noViolations
-
-
-
-
Method Detail
-
computeBaseFrame
protected ValidationJob.Frame<?> computeBaseFrame()
- Specified by:
computeBaseFrame
in classValidationJob<T>
-
hasWork
protected boolean hasWork()
- Overrides:
hasWork
in classValidationJob<T>
-
describe
protected abstract jakarta.validation.metadata.ExecutableDescriptor describe()
-
getParameterNames
protected abstract List<String> getParameterNames(jakarta.validation.ParameterNameProvider parameterNameProvider)
-
getRootBean
protected abstract T getRootBean()
-
createViolation
ConstraintViolationImpl<T> createViolation(String messageTemplate, String message, ConstraintValidatorContextImpl<T> context, PathImpl propertyPath)
- Specified by:
createViolation
in classValidationJob<T>
-
-