All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.avaje.validation.ValidMethod Maven / Gradle / Ivy

Go to download

validator for annotated pojos using constraint annotations and source code generation

There is a newer version: 2.4
Show newest version
package io.avaje.validation;

import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import io.avaje.inject.aop.Aspect;

/** Place on a method to execute validations on the parameters and return types */
@Aspect(ordering = 10)
@Target(METHOD)
@Retention(RUNTIME)
public @interface ValidMethod {
  String locale() default "";

  boolean throwOnParamFailure() default true;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy