io.avaje.validation.ValidMethod Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of avaje-validator Show documentation
Show all versions of avaje-validator Show documentation
validator for annotated pojos using constraint annotations and source code generation
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