
com.github.kagkarlsson.shaded.cronutils.validation.Cron Maven / Gradle / Ivy
package com.github.kagkarlsson.shaded.cronutils.validation;
import com.github.kagkarlsson.shaded.cronutils.model.CronType;
import javax.validation.Constraint;
import javax.validation.Payload;
import java.lang.annotation.*;
@Target({ElementType.FIELD, ElementType.ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Constraint(validatedBy = CronValidator.class)
@Inherited
@Documented
public @interface Cron {
String message() default "UNUSED";
Class>[] groups() default {};
Class extends Payload>[] payload() default {};
CronType type();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy