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

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

Go to download

validator for annotated pojos using constraint annotations and source code generation

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

import static java.lang.annotation.ElementType.MODULE;
import static java.lang.annotation.ElementType.PACKAGE;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.SOURCE;

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

/**
 * Specify external types for which to generate Valid Adapters. Use when you can't place a @Valid
 * annotation on an external type (such as a mvn/gradle dependency).
 */
@Retention(SOURCE)
@Target({TYPE, PACKAGE, MODULE})
public @interface ImportValidPojo {

  Class[] value();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy