com.github.ltsopensource.tasktracker.domain.Response Maven / Gradle / Ivy
package com.github.ltsopensource.tasktracker.domain;
import com.github.ltsopensource.core.domain.Action;
import com.github.ltsopensource.core.domain.JobMeta;
/**
* @author Robert HG ([email protected]) 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;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy