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

com.cronutils.validation.Cron Maven / Gradle / Ivy

Go to download

A Java library to parse, migrate and validate crons as well as describe them in human readable language

There is a newer version: 9.2.1
Show newest version
package com.cronutils.validation;

import com.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[] payload() default {};

    CronType type();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy