public interface Validator extends Validator
Valid interface for Micronaut's implementation.
 The Validator.getConstraintsForClass(Class) method is not supported by the implementation.
| Modifier and Type | Method and Description | 
|---|---|
| ExecutableMethodValidator | forExecutables()Overridden variation that returns a  ExecutableMethodValidator. | 
| static Validator | getInstance()Constructs a new default instance. | 
| <T> Set<ConstraintViolation<T>> | validate(BeanIntrospection<T> introspection,
        T object,
        Class<?>... groups)Validate the given introspection and object. | 
| <T> Set<ConstraintViolation<T>> | validate(T object,
        Class<?>... groups) | 
| <T> Set<ConstraintViolation<T>> | validateProperty(T object,
                String propertyName,
                Class<?>... groups) | 
| <T> Set<ConstraintViolation<T>> | validateValue(Class<T> beanType,
             String propertyName,
             Object value,
             Class<?>... groups) | 
getConstraintsForClass, unwrap@Nonnull ExecutableMethodValidator forExecutables()
ExecutableMethodValidator.forExecutables in interface Validator@Nonnull <T> Set<ConstraintViolation<T>> validate(@Nonnull T object, Class<?>... groups)
@Nonnull <T> Set<ConstraintViolation<T>> validate(@Nonnull BeanIntrospection<T> introspection, @Nonnull T object, @Nullable Class<?>... groups)
T - The object typeintrospection - The introspectionobject - The objectgroups - The groups@Nonnull <T> Set<ConstraintViolation<T>> validateProperty(@Nonnull T object, @Nonnull String propertyName, Class<?>... groups)
validateProperty in interface Validator@Nonnull <T> Set<ConstraintViolation<T>> validateValue(@Nonnull Class<T> beanType, @Nonnull String propertyName, @Nullable Object value, Class<?>... groups)
validateValue in interface Validator@Nonnull static Validator getInstance()
ConstraintValidator instances and using
 Inject should be preferred.