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

tech.simter.scheduling.quartz.CronScheduled Maven / Gradle / Ivy

The newest version!
package tech.simter.scheduling.quartz;

import org.quartz.CronTrigger;

import java.lang.annotation.*;

/**
 * The Annotation for config the quartz {@link CronTrigger}.
 * 

* The {@link CronScheduled#cron()} must be a valid cron expression. */ @Target({ElementType.TYPE, ElementType.METHOD}) @Retention(RetentionPolicy.RUNTIME) @Documented public @interface CronScheduled { /** * The quartz trigger cron expression. * * @return The Cron expression */ String cron(); /** * The job name. * * @return The job name */ String name() default ""; /** * The job group. * * @return The job group */ String group() default "SIMTER"; }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy