Response.java
1018 Bytes
1
2
3
4
5
6
7
8
9
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
41
42
43
44
45
46
47
48
49
50
51
52
53
package com.github.ltsopensource.tasktracker.domain;
import com.github.ltsopensource.core.domain.Action;
import com.github.ltsopensource.core.domain.JobMeta;
/**
* @author Robert HG (254963746@qq.com) on 8/14/14.
*/
public class Response {
private Action action;
private String msg;
private JobMeta jobMeta;
/**
* 是否接收新任务
*/
private boolean receiveNewJob = true;
public String getMsg() {
return msg;
}
public void setMsg(String msg) {
this.msg = msg;
}
public JobMeta getJobMeta() {
return jobMeta;
}
public void setJobMeta(JobMeta jobMeta) {
this.jobMeta = jobMeta;
}
public boolean isReceiveNewJob() {
return receiveNewJob;
}
public void setReceiveNewJob(boolean receiveNewJob) {
this.receiveNewJob = receiveNewJob;
}
public Action getAction() {
return action;
}
public void setAction(Action action) {
this.action = action;
}
}