|
@@ -12,6 +12,7 @@ public class XxlJobInfo {
|
|
|
private int id; // 主键ID
|
|
|
|
|
|
private int jobGroup; // 执行器主键ID
|
|
|
+ private String jobCron; // 任务执行CRON表达式
|
|
|
private String jobDesc;
|
|
|
|
|
|
private Date addTime;
|
|
@@ -20,10 +21,6 @@ public class XxlJobInfo {
|
|
|
private String author; // 负责人
|
|
|
private String alarmEmail; // 报警邮件
|
|
|
|
|
|
- private String scheduleType; // 调度类型
|
|
|
- private String scheduleConf; // 调度配置,值含义取决于调度类型
|
|
|
- private String misfireStrategy; // 调度过期策略
|
|
|
-
|
|
|
private String executorRouteStrategy; // 执行器路由策略
|
|
|
private String executorHandler; // 执行器,任务Handler名称
|
|
|
private String executorParam; // 执行器,任务参数
|
|
@@ -59,6 +56,14 @@ public class XxlJobInfo {
|
|
|
this.jobGroup = jobGroup;
|
|
|
}
|
|
|
|
|
|
+ public String getJobCron() {
|
|
|
+ return jobCron;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setJobCron(String jobCron) {
|
|
|
+ this.jobCron = jobCron;
|
|
|
+ }
|
|
|
+
|
|
|
public String getJobDesc() {
|
|
|
return jobDesc;
|
|
|
}
|
|
@@ -99,30 +104,6 @@ public class XxlJobInfo {
|
|
|
this.alarmEmail = alarmEmail;
|
|
|
}
|
|
|
|
|
|
- public String getScheduleType() {
|
|
|
- return scheduleType;
|
|
|
- }
|
|
|
-
|
|
|
- public void setScheduleType(String scheduleType) {
|
|
|
- this.scheduleType = scheduleType;
|
|
|
- }
|
|
|
-
|
|
|
- public String getScheduleConf() {
|
|
|
- return scheduleConf;
|
|
|
- }
|
|
|
-
|
|
|
- public void setScheduleConf(String scheduleConf) {
|
|
|
- this.scheduleConf = scheduleConf;
|
|
|
- }
|
|
|
-
|
|
|
- public String getMisfireStrategy() {
|
|
|
- return misfireStrategy;
|
|
|
- }
|
|
|
-
|
|
|
- public void setMisfireStrategy(String misfireStrategy) {
|
|
|
- this.misfireStrategy = misfireStrategy;
|
|
|
- }
|
|
|
-
|
|
|
public String getExecutorRouteStrategy() {
|
|
|
return executorRouteStrategy;
|
|
|
}
|