org.hibernate.validator.internal.engine
Class ValidationContext.ValidationContextBuilder
java.lang.Object
org.hibernate.validator.internal.engine.ValidationContext.ValidationContextBuilder
- Enclosing class:
- ValidationContext<T>
public static class ValidationContext.ValidationContextBuilder
- extends Object
Builder for creating ValidationContexts suited for the different
kinds of validation. Retrieve a builder with all common attributes via
ValidationContext#getValidationContext() and then invoke one of
the dedicated methods such as #forValidateParameters().
- Author:
- Gunnar Morling
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
forValidate
public <T> ValidationContext<T> forValidate(T rootBean)
forValidateProperty
public <T> ValidationContext<T> forValidateProperty(T rootBean)
forValidateValue
public <T> ValidationContext<T> forValidateValue(Class<T> rootBeanClass)
forValidateParameters
public <T> ValidationContext<T> forValidateParameters(ParameterNameProvider parameterNameProvider,
T rootBean,
ExecutableElement executable,
Object[] executableParameters)
forValidateReturnValue
public <T> ValidationContext<T> forValidateReturnValue(T rootBean,
ExecutableElement executable,
Object executableReturnValue)
Copyright © 2007-2013 Red Hat Middleware, LLC. All Rights Reserved