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

com.kedauis.common.annotation.AutoQuartz Maven / Gradle / Ivy

The newest version!
package com.kedauis.common.annotation;

import java.lang.annotation.*;

/**
 * 项目名称:kd-uip
 * 类描述:
 * 创建人:QiuYu
 * 创建时间:2018/1/15 15:17
 * 修改人:
 * 修改时间:
 * 修改备注:自动扫描的定时任务
 */
@Documented
@Target(ElementType.TYPE)
@Inherited
@Retention(RetentionPolicy.RUNTIME)
public @interface AutoQuartz {
    /**
     * author QiuYu
     * date 2018/1/15
     * time 15:21
     * description 组名
     * @return group name
     */
    public String group() default "";
    
    /**
     * author QiuYu
     * date 2018/1/15
     * time 15:26
     * description 任务名称
     * @return task name
     */
    public String task() default "";

    /**
     * author QiuYu
     * date 2018/1/15
     * time 15:25
     * description 要执行的方法名
     * @return method name
     */
    public String method() default "execute";

    /**
     * author QiuYu
     * date 2018/1/15
     * time 15:25
     * description 定时任务要使用的cron表达式
     * @return cron infos
     */
    public String cron() default "";

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy