nl.vpro.domain.user.validation.BroadcasterValidation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of user-domain Show documentation
Show all versions of user-domain Show documentation
Domain classes and interfaces related to accountability, users and organizations.
package nl.vpro.domain.user.validation;
import java.lang.annotation.*;
import jakarta.validation.Constraint;
import jakarta.validation.Payload;
import static java.lang.annotation.ElementType.TYPE_USE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
/**
* @author Michiel Meeuwissen
* @since 7.10
*/
@Target({TYPE_USE})
@Retention(RUNTIME)
@Constraint(validatedBy = BroadcasterValidator.class)
@Documented
public @interface BroadcasterValidation {
String message() default "{nl.vpro.constraints.broadcaster}";
Class>[] groups() default {};
Class extends Payload>[] payload() default {};
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy