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

com.xxl.job.plus.executor.annotation.XxlRegister Maven / Gradle / Ivy

The newest version!
package com.xxl.job.plus.executor.annotation;

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

@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface XxlRegister {

    String cron();

    String jobDesc() default "default jobDesc";

    String author() default "default Author";

    /*
     * 默认为 ROUND 轮询方式
     * 可选: FIRST 第一个
     * */
    String executorRouteStrategy() default "ROUND";

    /**
     * 调度状态:0-停止,1-运行
     */
    int triggerStatus() default 1;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy