提交 | 用户 | 时间
|
e7c126
|
1 |
package com.xxl.job.admin.core.model; |
H |
2 |
|
|
3 |
import java.util.Date; |
|
4 |
|
|
5 |
/** |
|
6 |
* xxl-job log, used to track trigger process |
|
7 |
* @author xuxueli 2015-12-19 23:19:09 |
|
8 |
*/ |
|
9 |
public class XxlJobLog { |
|
10 |
|
|
11 |
private long id; |
|
12 |
|
|
13 |
// job info |
|
14 |
private int jobGroup; |
|
15 |
private int jobId; |
|
16 |
|
|
17 |
// execute info |
|
18 |
private String executorAddress; |
|
19 |
private String executorHandler; |
|
20 |
private String executorParam; |
|
21 |
private String executorShardingParam; |
|
22 |
private int executorFailRetryCount; |
|
23 |
|
|
24 |
// trigger info |
|
25 |
private Date triggerTime; |
|
26 |
private int triggerCode; |
|
27 |
private String triggerMsg; |
|
28 |
|
|
29 |
// handle info |
|
30 |
private Date handleTime; |
|
31 |
private int handleCode; |
|
32 |
private String handleMsg; |
|
33 |
|
|
34 |
// alarm info |
|
35 |
private int alarmStatus; |
|
36 |
|
|
37 |
public long getId() { |
|
38 |
return id; |
|
39 |
} |
|
40 |
|
|
41 |
public void setId(long id) { |
|
42 |
this.id = id; |
|
43 |
} |
|
44 |
|
|
45 |
public int getJobGroup() { |
|
46 |
return jobGroup; |
|
47 |
} |
|
48 |
|
|
49 |
public void setJobGroup(int jobGroup) { |
|
50 |
this.jobGroup = jobGroup; |
|
51 |
} |
|
52 |
|
|
53 |
public int getJobId() { |
|
54 |
return jobId; |
|
55 |
} |
|
56 |
|
|
57 |
public void setJobId(int jobId) { |
|
58 |
this.jobId = jobId; |
|
59 |
} |
|
60 |
|
|
61 |
public String getExecutorAddress() { |
|
62 |
return executorAddress; |
|
63 |
} |
|
64 |
|
|
65 |
public void setExecutorAddress(String executorAddress) { |
|
66 |
this.executorAddress = executorAddress; |
|
67 |
} |
|
68 |
|
|
69 |
public String getExecutorHandler() { |
|
70 |
return executorHandler; |
|
71 |
} |
|
72 |
|
|
73 |
public void setExecutorHandler(String executorHandler) { |
|
74 |
this.executorHandler = executorHandler; |
|
75 |
} |
|
76 |
|
|
77 |
public String getExecutorParam() { |
|
78 |
return executorParam; |
|
79 |
} |
|
80 |
|
|
81 |
public void setExecutorParam(String executorParam) { |
|
82 |
this.executorParam = executorParam; |
|
83 |
} |
|
84 |
|
|
85 |
public String getExecutorShardingParam() { |
|
86 |
return executorShardingParam; |
|
87 |
} |
|
88 |
|
|
89 |
public void setExecutorShardingParam(String executorShardingParam) { |
|
90 |
this.executorShardingParam = executorShardingParam; |
|
91 |
} |
|
92 |
|
|
93 |
public int getExecutorFailRetryCount() { |
|
94 |
return executorFailRetryCount; |
|
95 |
} |
|
96 |
|
|
97 |
public void setExecutorFailRetryCount(int executorFailRetryCount) { |
|
98 |
this.executorFailRetryCount = executorFailRetryCount; |
|
99 |
} |
|
100 |
|
|
101 |
public Date getTriggerTime() { |
|
102 |
return triggerTime; |
|
103 |
} |
|
104 |
|
|
105 |
public void setTriggerTime(Date triggerTime) { |
|
106 |
this.triggerTime = triggerTime; |
|
107 |
} |
|
108 |
|
|
109 |
public int getTriggerCode() { |
|
110 |
return triggerCode; |
|
111 |
} |
|
112 |
|
|
113 |
public void setTriggerCode(int triggerCode) { |
|
114 |
this.triggerCode = triggerCode; |
|
115 |
} |
|
116 |
|
|
117 |
public String getTriggerMsg() { |
|
118 |
return triggerMsg; |
|
119 |
} |
|
120 |
|
|
121 |
public void setTriggerMsg(String triggerMsg) { |
|
122 |
this.triggerMsg = triggerMsg; |
|
123 |
} |
|
124 |
|
|
125 |
public Date getHandleTime() { |
|
126 |
return handleTime; |
|
127 |
} |
|
128 |
|
|
129 |
public void setHandleTime(Date handleTime) { |
|
130 |
this.handleTime = handleTime; |
|
131 |
} |
|
132 |
|
|
133 |
public int getHandleCode() { |
|
134 |
return handleCode; |
|
135 |
} |
|
136 |
|
|
137 |
public void setHandleCode(int handleCode) { |
|
138 |
this.handleCode = handleCode; |
|
139 |
} |
|
140 |
|
|
141 |
public String getHandleMsg() { |
|
142 |
return handleMsg; |
|
143 |
} |
|
144 |
|
|
145 |
public void setHandleMsg(String handleMsg) { |
|
146 |
this.handleMsg = handleMsg; |
|
147 |
} |
|
148 |
|
|
149 |
public int getAlarmStatus() { |
|
150 |
return alarmStatus; |
|
151 |
} |
|
152 |
|
|
153 |
public void setAlarmStatus(int alarmStatus) { |
|
154 |
this.alarmStatus = alarmStatus; |
|
155 |
} |
|
156 |
|
|
157 |
} |