From 33f124e8c337daa9d5bc70f40812b6b82772c9ae Mon Sep 17 00:00:00 2001 From: xuxueli <931591021@qq.com> Date: Thu, 27 Jul 2017 13:27:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0RM?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../job/admin/controller/IndexController.java | 4 +- .../admin/controller/JobInfoController.java | 4 +- ...IXxlJobService.java => XxlJobService.java} | 68 +++++++++---------- .../admin/service/impl/XxlJobServiceImpl.java | 4 +- 4 files changed, 40 insertions(+), 40 deletions(-) rename xxl-job-admin/src/main/java/com/xxl/job/admin/service/{IXxlJobService.java => XxlJobService.java} (91%) diff --git a/xxl-job-admin/src/main/java/com/xxl/job/admin/controller/IndexController.java b/xxl-job-admin/src/main/java/com/xxl/job/admin/controller/IndexController.java index 6c7591f3..c63f9cf7 100644 --- a/xxl-job-admin/src/main/java/com/xxl/job/admin/controller/IndexController.java +++ b/xxl-job-admin/src/main/java/com/xxl/job/admin/controller/IndexController.java @@ -3,7 +3,7 @@ package com.xxl.job.admin.controller; import com.xxl.job.admin.controller.annotation.PermessionLimit; import com.xxl.job.admin.controller.interceptor.PermissionInterceptor; import com.xxl.job.admin.core.util.PropertiesUtil; -import com.xxl.job.admin.service.IXxlJobService; +import com.xxl.job.admin.service.XxlJobService; import com.xxl.job.core.biz.model.ReturnT; import org.apache.commons.lang.StringUtils; import org.springframework.stereotype.Controller; @@ -25,7 +25,7 @@ import java.util.Map; public class IndexController { @Resource - private IXxlJobService xxlJobService; + private XxlJobService xxlJobService; @RequestMapping("/") public String index(Model model) { diff --git a/xxl-job-admin/src/main/java/com/xxl/job/admin/controller/JobInfoController.java b/xxl-job-admin/src/main/java/com/xxl/job/admin/controller/JobInfoController.java index db4e0c55..ffac4a27 100644 --- a/xxl-job-admin/src/main/java/com/xxl/job/admin/controller/JobInfoController.java +++ b/xxl-job-admin/src/main/java/com/xxl/job/admin/controller/JobInfoController.java @@ -5,7 +5,7 @@ import com.xxl.job.admin.core.model.XxlJobGroup; import com.xxl.job.admin.core.model.XxlJobInfo; import com.xxl.job.admin.core.route.ExecutorRouteStrategyEnum; import com.xxl.job.admin.dao.XxlJobGroupDao; -import com.xxl.job.admin.service.IXxlJobService; +import com.xxl.job.admin.service.XxlJobService; import com.xxl.job.core.biz.model.ReturnT; import com.xxl.job.core.enums.ExecutorBlockStrategyEnum; import com.xxl.job.core.glue.GlueTypeEnum; @@ -30,7 +30,7 @@ public class JobInfoController { @Resource private XxlJobGroupDao xxlJobGroupDao; @Resource - private IXxlJobService xxlJobService; + private XxlJobService xxlJobService; @RequestMapping public String index(Model model) { diff --git a/xxl-job-admin/src/main/java/com/xxl/job/admin/service/IXxlJobService.java b/xxl-job-admin/src/main/java/com/xxl/job/admin/service/XxlJobService.java similarity index 91% rename from xxl-job-admin/src/main/java/com/xxl/job/admin/service/IXxlJobService.java rename to xxl-job-admin/src/main/java/com/xxl/job/admin/service/XxlJobService.java index 15be723d..64f9f57b 100644 --- a/xxl-job-admin/src/main/java/com/xxl/job/admin/service/IXxlJobService.java +++ b/xxl-job-admin/src/main/java/com/xxl/job/admin/service/XxlJobService.java @@ -1,34 +1,34 @@ -package com.xxl.job.admin.service; - - -import com.xxl.job.admin.core.model.XxlJobInfo; -import com.xxl.job.core.biz.model.ReturnT; - -import java.util.Map; - -/** - * core job action for xxl-job - * - * @author xuxueli 2016-5-28 15:30:33 - */ -public interface IXxlJobService { - - public Map pageList(int start, int length, int jobGroup, String executorHandler, String filterTime); - - public ReturnT add(XxlJobInfo jobInfo); - - public ReturnT reschedule(XxlJobInfo jobInfo); - - public ReturnT remove(int id); - - public ReturnT pause(int id); - - public ReturnT resume(int id); - - public ReturnT triggerJob(int id); - - public Map dashboardInfo(); - - public ReturnT> triggerChartDate(); - -} +package com.xxl.job.admin.service; + + +import com.xxl.job.admin.core.model.XxlJobInfo; +import com.xxl.job.core.biz.model.ReturnT; + +import java.util.Map; + +/** + * core job action for xxl-job + * + * @author xuxueli 2016-5-28 15:30:33 + */ +public interface XxlJobService { + + public Map pageList(int start, int length, int jobGroup, String executorHandler, String filterTime); + + public ReturnT add(XxlJobInfo jobInfo); + + public ReturnT reschedule(XxlJobInfo jobInfo); + + public ReturnT remove(int id); + + public ReturnT pause(int id); + + public ReturnT resume(int id); + + public ReturnT triggerJob(int id); + + public Map dashboardInfo(); + + public ReturnT> triggerChartDate(); + +} diff --git a/xxl-job-admin/src/main/java/com/xxl/job/admin/service/impl/XxlJobServiceImpl.java b/xxl-job-admin/src/main/java/com/xxl/job/admin/service/impl/XxlJobServiceImpl.java index a80793a2..6845a4ef 100644 --- a/xxl-job-admin/src/main/java/com/xxl/job/admin/service/impl/XxlJobServiceImpl.java +++ b/xxl-job-admin/src/main/java/com/xxl/job/admin/service/impl/XxlJobServiceImpl.java @@ -9,7 +9,7 @@ import com.xxl.job.admin.dao.XxlJobGroupDao; import com.xxl.job.admin.dao.XxlJobInfoDao; import com.xxl.job.admin.dao.XxlJobLogDao; import com.xxl.job.admin.dao.XxlJobLogGlueDao; -import com.xxl.job.admin.service.IXxlJobService; +import com.xxl.job.admin.service.XxlJobService; import com.xxl.job.core.biz.model.ReturnT; import com.xxl.job.core.enums.ExecutorBlockStrategyEnum; import com.xxl.job.core.glue.GlueTypeEnum; @@ -32,7 +32,7 @@ import java.util.*; * @author xuxueli 2016-5-28 15:30:33 */ @Service -public class XxlJobServiceImpl implements IXxlJobService { +public class XxlJobServiceImpl implements XxlJobService { private static Logger logger = LoggerFactory.getLogger(XxlJobServiceImpl.class); @Resource