注解去掉 default "",必须指定任务名称。
This commit is contained in:
parent
99c9a2ab63
commit
d016661ac4
|
@ -19,6 +19,6 @@ import java.lang.annotation.Target;
|
|||
@Deprecated
|
||||
public @interface JobHandler {
|
||||
|
||||
String value() default "";
|
||||
String value();
|
||||
|
||||
}
|
||||
|
|
|
@ -15,7 +15,7 @@ public @interface XxlJob {
|
|||
/**
|
||||
* jobhandler name
|
||||
*/
|
||||
String value() default "";
|
||||
String value();
|
||||
|
||||
/**
|
||||
* init handler, invoked when JobThread init
|
||||
|
|
Loading…
Reference in New Issue