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

com.yuweix.kuafu.schedule.Executable Maven / Gradle / Ivy

The newest version!
package com.yuweix.kuafu.schedule;


import org.springframework.core.annotation.AliasFor;
import org.springframework.scheduling.annotation.Scheduled;

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

import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;


/**
 * @author yuwei
 */
@Target({METHOD})
@Retention(RUNTIME)
@Scheduled
public @interface Executable {
    @AliasFor(annotation = Scheduled.class, value = "cron")
    String cron() default "";
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy