public static class ValidateReturnValue.ForConstructor<T> extends ValidateReturnValue<Constructor<?>,T>
ValidateReturnValue.ForConstructor<T>, ValidateReturnValue.ForMethod<T>
ValidationJob.BeanFrame<B>, ValidationJob.Frame<D extends ElementD<?,?>>, ValidationJob.SproutFrame<D extends ElementD<?,?> & javax.validation.metadata.CascadableDescriptor & javax.validation.metadata.ContainerDescriptor>
executable
groups, ITERABLE_ELEMENT, MAP_VALUE, validatorContext
Constructor and Description |
---|
ForConstructor(ApacheFactoryContext validatorContext,
Constructor<? extends T> ctor,
Object returnValue,
Class<?>[] groups) |
Modifier and Type | Method and Description |
---|---|
protected ValidationJob.Frame<?> |
createBaseFrame(ReturnValueD<?,?> descriptor,
GraphContext context) |
protected javax.validation.metadata.ExecutableDescriptor |
describe() |
protected T |
getRootBean() |
protected Class<T> |
getRootBeanClass() |
computeBaseFrame, createViolation, hasWork
createBasePath
createViolation, getResults, noViolations
ForConstructor(ApacheFactoryContext validatorContext, Constructor<? extends T> ctor, Object returnValue, Class<?>[] groups)
protected T getRootBean()
getRootBean
in class ValidateReturnValue<Constructor<?>,T>
protected Class<T> getRootBeanClass()
getRootBeanClass
in class ValidationJob<T>
protected javax.validation.metadata.ExecutableDescriptor describe()
describe
in class ValidateReturnValue<Constructor<?>,T>
protected ValidationJob.Frame<?> createBaseFrame(ReturnValueD<?,?> descriptor, GraphContext context)
createBaseFrame
in class ValidateReturnValue<Constructor<?>,T>
Copyright © 2010–2020 The Apache Software Foundation. All rights reserved.