Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
熊鹏飞
/
xxljob220
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
8516d7bb
authored
Jan 02, 2020
by
许雪里
Committed by
GitHub
Jan 02, 2020
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge pull request #1389 from abel533/default_name
注解去掉 default "",必须指定任务名称。
parents
99c9a2ab
d016661a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
xxl-job-core/src/main/java/com/xxl/job/core/handler/annotation/JobHandler.java
xxl-job-core/src/main/java/com/xxl/job/core/handler/annotation/XxlJob.java
xxl-job-core/src/main/java/com/xxl/job/core/handler/annotation/JobHandler.java
View file @
8516d7bb
...
@@ -19,6 +19,6 @@ import java.lang.annotation.Target;
...
@@ -19,6 +19,6 @@ import java.lang.annotation.Target;
@Deprecated
@Deprecated
public
@interface
JobHandler
{
public
@interface
JobHandler
{
String
value
()
default
""
;
String
value
();
}
}
xxl-job-core/src/main/java/com/xxl/job/core/handler/annotation/XxlJob.java
View file @
8516d7bb
...
@@ -15,7 +15,7 @@ public @interface XxlJob {
...
@@ -15,7 +15,7 @@ public @interface XxlJob {
/**
/**
* jobhandler name
* jobhandler name
*/
*/
String
value
()
default
""
;
String
value
();
/**
/**
* init handler, invoked when JobThread init
* init handler, invoked when JobThread init
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment