houzhongjian
2024-11-22 49b510c77474fed0eff94e27f8d7a2d4e4cb7879
提交 | 用户 | 时间
e7c126 1 package com.xxl.job.admin.core.model;
H 2
3 import java.util.Date;
4
5 /**
6  * xxl-job info
7  *
8  * @author xuxueli  2016-1-12 18:25:49
9  */
10 public class XxlJobInfo {
11     
12     private int id;                // 主键ID
13     
14     private int jobGroup;        // 执行器主键ID
15     private String jobDesc;
16     
17     private Date addTime;
18     private Date updateTime;
19     
20     private String author;        // 负责人
21     private String alarmEmail;    // 报警邮件
22
23     private String scheduleType;            // 调度类型
24     private String scheduleConf;            // 调度配置,值含义取决于调度类型
25     private String misfireStrategy;            // 调度过期策略
26
27     private String executorRouteStrategy;    // 执行器路由策略
28     private String executorHandler;            // 执行器,任务Handler名称
29     private String executorParam;            // 执行器,任务参数
30     private String executorBlockStrategy;    // 阻塞处理策略
31     private int executorTimeout;             // 任务执行超时时间,单位秒
32     private int executorFailRetryCount;        // 失败重试次数
33     
34     private String glueType;        // GLUE类型    #com.xxl.job.core.glue.GlueTypeEnum
35     private String glueSource;        // GLUE源代码
36     private String glueRemark;        // GLUE备注
37     private Date glueUpdatetime;    // GLUE更新时间
38
39     private String childJobId;        // 子任务ID,多个逗号分隔
40
41     private int triggerStatus;        // 调度状态:0-停止,1-运行
42     private long triggerLastTime;    // 上次调度时间
43     private long triggerNextTime;    // 下次调度时间
44
45
46     public int getId() {
47         return id;
48     }
49
50     public void setId(int id) {
51         this.id = id;
52     }
53
54     public int getJobGroup() {
55         return jobGroup;
56     }
57
58     public void setJobGroup(int jobGroup) {
59         this.jobGroup = jobGroup;
60     }
61
62     public String getJobDesc() {
63         return jobDesc;
64     }
65
66     public void setJobDesc(String jobDesc) {
67         this.jobDesc = jobDesc;
68     }
69
70     public Date getAddTime() {
71         return addTime;
72     }
73
74     public void setAddTime(Date addTime) {
75         this.addTime = addTime;
76     }
77
78     public Date getUpdateTime() {
79         return updateTime;
80     }
81
82     public void setUpdateTime(Date updateTime) {
83         this.updateTime = updateTime;
84     }
85
86     public String getAuthor() {
87         return author;
88     }
89
90     public void setAuthor(String author) {
91         this.author = author;
92     }
93
94     public String getAlarmEmail() {
95         return alarmEmail;
96     }
97
98     public void setAlarmEmail(String alarmEmail) {
99         this.alarmEmail = alarmEmail;
100     }
101
102     public String getScheduleType() {
103         return scheduleType;
104     }
105
106     public void setScheduleType(String scheduleType) {
107         this.scheduleType = scheduleType;
108     }
109
110     public String getScheduleConf() {
111         return scheduleConf;
112     }
113
114     public void setScheduleConf(String scheduleConf) {
115         this.scheduleConf = scheduleConf;
116     }
117
118     public String getMisfireStrategy() {
119         return misfireStrategy;
120     }
121
122     public void setMisfireStrategy(String misfireStrategy) {
123         this.misfireStrategy = misfireStrategy;
124     }
125
126     public String getExecutorRouteStrategy() {
127         return executorRouteStrategy;
128     }
129
130     public void setExecutorRouteStrategy(String executorRouteStrategy) {
131         this.executorRouteStrategy = executorRouteStrategy;
132     }
133
134     public String getExecutorHandler() {
135         return executorHandler;
136     }
137
138     public void setExecutorHandler(String executorHandler) {
139         this.executorHandler = executorHandler;
140     }
141
142     public String getExecutorParam() {
143         return executorParam;
144     }
145
146     public void setExecutorParam(String executorParam) {
147         this.executorParam = executorParam;
148     }
149
150     public String getExecutorBlockStrategy() {
151         return executorBlockStrategy;
152     }
153
154     public void setExecutorBlockStrategy(String executorBlockStrategy) {
155         this.executorBlockStrategy = executorBlockStrategy;
156     }
157
158     public int getExecutorTimeout() {
159         return executorTimeout;
160     }
161
162     public void setExecutorTimeout(int executorTimeout) {
163         this.executorTimeout = executorTimeout;
164     }
165
166     public int getExecutorFailRetryCount() {
167         return executorFailRetryCount;
168     }
169
170     public void setExecutorFailRetryCount(int executorFailRetryCount) {
171         this.executorFailRetryCount = executorFailRetryCount;
172     }
173
174     public String getGlueType() {
175         return glueType;
176     }
177
178     public void setGlueType(String glueType) {
179         this.glueType = glueType;
180     }
181
182     public String getGlueSource() {
183         return glueSource;
184     }
185
186     public void setGlueSource(String glueSource) {
187         this.glueSource = glueSource;
188     }
189
190     public String getGlueRemark() {
191         return glueRemark;
192     }
193
194     public void setGlueRemark(String glueRemark) {
195         this.glueRemark = glueRemark;
196     }
197
198     public Date getGlueUpdatetime() {
199         return glueUpdatetime;
200     }
201
202     public void setGlueUpdatetime(Date glueUpdatetime) {
203         this.glueUpdatetime = glueUpdatetime;
204     }
205
206     public String getChildJobId() {
207         return childJobId;
208     }
209
210     public void setChildJobId(String childJobId) {
211         this.childJobId = childJobId;
212     }
213
214     public int getTriggerStatus() {
215         return triggerStatus;
216     }
217
218     public void setTriggerStatus(int triggerStatus) {
219         this.triggerStatus = triggerStatus;
220     }
221
222     public long getTriggerLastTime() {
223         return triggerLastTime;
224     }
225
226     public void setTriggerLastTime(long triggerLastTime) {
227         this.triggerLastTime = triggerLastTime;
228     }
229
230     public long getTriggerNextTime() {
231         return triggerNextTime;
232     }
233
234     public void setTriggerNextTime(long triggerNextTime) {
235         this.triggerNextTime = triggerNextTime;
236     }
237 }