1
2 package org.miloss.fgsms.services.interfaces.common;
3
4 import javax.xml.bind.annotation.XmlAccessType;
5 import javax.xml.bind.annotation.XmlAccessorType;
6 import javax.xml.bind.annotation.XmlElement;
7 import javax.xml.bind.annotation.XmlSchemaType;
8 import javax.xml.bind.annotation.XmlType;
9 import java.util.Calendar;
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40 @XmlAccessorType(XmlAccessType.FIELD)
41 @XmlType(name = "AgentAction", propOrder = {
42 "uri",
43 "id",
44 "created",
45 "createdby",
46 "updated",
47 "workingDir",
48 "command",
49 "output",
50 "executiontime",
51 "status"
52 })
53 public class AgentAction {
54
55 @XmlElement(required = true)
56 protected String uri;
57 @XmlElement(required = true, nillable = true)
58 protected String id;
59 @XmlElement(required = true, nillable = true)
60 @XmlSchemaType(name = "dateTime")
61 protected Calendar created;
62 @XmlElement(required = true, nillable = true)
63 protected String createdby;
64 @XmlElement(required = true, nillable = true)
65 @XmlSchemaType(name = "dateTime")
66 protected Calendar updated;
67 @XmlElement(name = "working_dir", required = true, nillable = true)
68 protected String workingDir;
69 @XmlElement(required = true)
70 protected String command;
71 @XmlElement(required = true, nillable = true)
72 protected String output;
73 @XmlElement(required = true, type = Long.class, nillable = true)
74 protected Long executiontime;
75 @XmlElement(required = true, nillable = true)
76 protected AgentActionStatus status;
77
78
79
80
81
82
83
84
85
86 public String getUri() {
87 return uri;
88 }
89
90
91
92
93
94
95
96
97
98 public void setUri(String value) {
99 this.uri = value;
100 }
101
102
103
104
105
106
107
108
109
110 public String getId() {
111 return id;
112 }
113
114
115
116
117
118
119
120
121
122 public void setId(String value) {
123 this.id = value;
124 }
125
126
127
128
129
130
131
132
133
134 public Calendar getCreated() {
135 return created;
136 }
137
138
139
140
141
142
143
144
145
146 public void setCreated(Calendar value) {
147 this.created = value;
148 }
149
150
151
152
153
154
155
156
157
158 public String getCreatedby() {
159 return createdby;
160 }
161
162
163
164
165
166
167
168
169
170 public void setCreatedby(String value) {
171 this.createdby = value;
172 }
173
174
175
176
177
178
179
180
181
182 public Calendar getUpdated() {
183 return updated;
184 }
185
186
187
188
189
190
191
192
193
194 public void setUpdated(Calendar value) {
195 this.updated = value;
196 }
197
198
199
200
201
202
203
204
205
206 public String getWorkingDir() {
207 return workingDir;
208 }
209
210
211
212
213
214
215
216
217
218 public void setWorkingDir(String value) {
219 this.workingDir = value;
220 }
221
222
223
224
225
226
227
228
229
230 public String getCommand() {
231 return command;
232 }
233
234
235
236
237
238
239
240
241
242 public void setCommand(String value) {
243 this.command = value;
244 }
245
246
247
248
249
250
251
252
253
254 public String getOutput() {
255 return output;
256 }
257
258
259
260
261
262
263
264
265
266 public void setOutput(String value) {
267 this.output = value;
268 }
269
270
271
272
273
274
275
276
277
278 public Long getExecutiontime() {
279 return executiontime;
280 }
281
282
283
284
285
286
287
288
289
290 public void setExecutiontime(Long value) {
291 this.executiontime = value;
292 }
293
294
295
296
297
298
299
300
301
302 public AgentActionStatus getStatus() {
303 return status;
304 }
305
306
307
308
309
310
311
312
313
314 public void setStatus(AgentActionStatus value) {
315 this.status = value;
316 }
317
318 }