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
7b9d505f
authored
May 23, 2016
by
xueli.xue
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
更新Demo代码
parent
cd32557d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
xxl-job-admin/src/main/webapp/WEB-INF/template/jobinfo/index.ftl
xxl-job-admin/src/main/webapp/WEB-INF/template/jobinfo/index.ftl
View file @
7b9d505f
...
@@ -162,14 +162,14 @@ package com.xxl.job.service.handler;
...
@@ -162,14 +162,14 @@ package com.xxl.job.service.handler;
import org.slf4j.Logger;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.slf4j.LoggerFactory;
import com.xxl.job.c
lient
.handler.IJobHandler;
import com.xxl.job.c
ore
.handler.IJobHandler;
import com.xxl.job.c
lient
.handler.IJobHandler.JobHandleStatus;
import com.xxl.job.c
ore
.handler.IJobHandler.JobHandleStatus;
public class DemoJobHandler extends IJobHandler {
public class DemoJobHandler extends IJobHandler {
private static transient Logger logger = LoggerFactory.getLogger(DemoJobHandler.class);
private static transient Logger logger = LoggerFactory.getLogger(DemoJobHandler.class);
@Override
@Override
public JobHandleStatus
handl
e(String... params) throws Exception {
public JobHandleStatus
execut
e(String... params) throws Exception {
logger.info("XXL-JOB, Hello World.");
logger.info("XXL-JOB, Hello World.");
return JobHandleStatus.SUCCESS;
return JobHandleStatus.SUCCESS;
}
}
...
...
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