|
@@ -1,34 +1,34 @@
|
1
|
|
-package com.xxl.job.admin.service;
|
2
|
|
-
|
3
|
|
-
|
4
|
|
-import com.xxl.job.admin.core.model.XxlJobInfo;
|
5
|
|
-import com.xxl.job.core.biz.model.ReturnT;
|
6
|
|
-
|
7
|
|
-import java.util.Map;
|
8
|
|
-
|
9
|
|
-/**
|
10
|
|
- * core job action for xxl-job
|
11
|
|
- *
|
12
|
|
- * @author xuxueli 2016-5-28 15:30:33
|
13
|
|
- */
|
14
|
|
-public interface IXxlJobService {
|
15
|
|
-
|
16
|
|
- public Map<String, Object> pageList(int start, int length, int jobGroup, String executorHandler, String filterTime);
|
17
|
|
-
|
18
|
|
- public ReturnT<String> add(XxlJobInfo jobInfo);
|
19
|
|
-
|
20
|
|
- public ReturnT<String> reschedule(XxlJobInfo jobInfo);
|
21
|
|
-
|
22
|
|
- public ReturnT<String> remove(int id);
|
23
|
|
-
|
24
|
|
- public ReturnT<String> pause(int id);
|
25
|
|
-
|
26
|
|
- public ReturnT<String> resume(int id);
|
27
|
|
-
|
28
|
|
- public ReturnT<String> triggerJob(int id);
|
29
|
|
-
|
30
|
|
- public Map<String,Object> dashboardInfo();
|
31
|
|
-
|
32
|
|
- public ReturnT<Map<String,Object>> triggerChartDate();
|
33
|
|
-
|
34
|
|
-}
|
|
1
|
+package com.xxl.job.admin.service;
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+import com.xxl.job.admin.core.model.XxlJobInfo;
|
|
5
|
+import com.xxl.job.core.biz.model.ReturnT;
|
|
6
|
+
|
|
7
|
+import java.util.Map;
|
|
8
|
+
|
|
9
|
+/**
|
|
10
|
+ * core job action for xxl-job
|
|
11
|
+ *
|
|
12
|
+ * @author xuxueli 2016-5-28 15:30:33
|
|
13
|
+ */
|
|
14
|
+public interface XxlJobService {
|
|
15
|
+
|
|
16
|
+ public Map<String, Object> pageList(int start, int length, int jobGroup, String executorHandler, String filterTime);
|
|
17
|
+
|
|
18
|
+ public ReturnT<String> add(XxlJobInfo jobInfo);
|
|
19
|
+
|
|
20
|
+ public ReturnT<String> reschedule(XxlJobInfo jobInfo);
|
|
21
|
+
|
|
22
|
+ public ReturnT<String> remove(int id);
|
|
23
|
+
|
|
24
|
+ public ReturnT<String> pause(int id);
|
|
25
|
+
|
|
26
|
+ public ReturnT<String> resume(int id);
|
|
27
|
+
|
|
28
|
+ public ReturnT<String> triggerJob(int id);
|
|
29
|
+
|
|
30
|
+ public Map<String,Object> dashboardInfo();
|
|
31
|
+
|
|
32
|
+ public ReturnT<Map<String,Object>> triggerChartDate();
|
|
33
|
+
|
|
34
|
+}
|