add name...to testplanresult model
This commit is contained in:
parent
26231eee15
commit
f78be23664
|
@ -1,5 +1,6 @@
|
||||||
package org.bench4q.share.models.master;
|
package org.bench4q.share.models.master;
|
||||||
|
|
||||||
|
import java.util.Date;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
|
|
||||||
|
@ -11,10 +12,31 @@ import org.bench4q.share.enums.master.TestPlanStatus;
|
||||||
|
|
||||||
@XmlRootElement(name = "RunTestPlanResultModel")
|
@XmlRootElement(name = "RunTestPlanResultModel")
|
||||||
public class TestPlanResultModel {
|
public class TestPlanResultModel {
|
||||||
|
private String testPlanName;
|
||||||
private UUID testPlanId;
|
private UUID testPlanId;
|
||||||
|
private long executeTime;
|
||||||
private TestPlanStatus currentStatus;
|
private TestPlanStatus currentStatus;
|
||||||
private List<ScriptHandleModel> scripts;
|
private List<ScriptHandleModel> scripts;
|
||||||
private List<MonitorModel> monitorModels;
|
private List<MonitorModel> monitorModels;
|
||||||
|
private Date createDateTime;
|
||||||
|
|
||||||
|
@XmlElement(name = "testPlanName")
|
||||||
|
public String getTestPlanName() {
|
||||||
|
return testPlanName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTestPlanName(String testPlanName) {
|
||||||
|
this.testPlanName = testPlanName;
|
||||||
|
}
|
||||||
|
|
||||||
|
@XmlElement(name = "executeTime")
|
||||||
|
public long getExecuteTime() {
|
||||||
|
return executeTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setExecuteTime(long executeTime) {
|
||||||
|
this.executeTime = executeTime;
|
||||||
|
}
|
||||||
|
|
||||||
@XmlElement(name = "testPlanId")
|
@XmlElement(name = "testPlanId")
|
||||||
public UUID getTestPlanId() {
|
public UUID getTestPlanId() {
|
||||||
|
@ -54,4 +76,13 @@ public class TestPlanResultModel {
|
||||||
this.scripts = scripts;
|
this.scripts = scripts;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@XmlElement(name = "createDateTime")
|
||||||
|
public Date getCreateDateTime() {
|
||||||
|
return createDateTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCreateDateTime(Date createDateTime) {
|
||||||
|
this.createDateTime = createDateTime;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue