формирование json пакета из разных конфигураций и тестов. промежуточный.
This commit is contained in:
@@ -7,24 +7,33 @@ import TestingSystem.Common.Group.Group;
|
||||
import TestingSystem.Common.Test.Test;
|
||||
import TestingSystem.Common.Test.TestType;
|
||||
import TestingSystem.DVM.Configuration.Configuration;
|
||||
import com.google.gson.annotations.Expose;
|
||||
import com.sun.org.glassfish.gmbal.Description;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.Vector;
|
||||
public class DVMTask extends iDBObject {
|
||||
@Expose
|
||||
public int group_id = Constants.Nan;
|
||||
@Expose
|
||||
public String group_description = "";
|
||||
@Expose
|
||||
public int test_id = Constants.Nan;
|
||||
@Expose
|
||||
public String test_description = "";
|
||||
@Expose
|
||||
public String flags = "";
|
||||
@Expose
|
||||
public int kernels = 1;
|
||||
@Expose
|
||||
public TaskState state = TaskState.Inactive;
|
||||
@Expose
|
||||
public int maxtime = 40;
|
||||
@Expose
|
||||
public TestType test_type = TestType.Default;
|
||||
//результаты-------------------------------
|
||||
@Expose
|
||||
public double Time; //время выполнения.
|
||||
public String output = "";
|
||||
public String errors = "";
|
||||
//------------------------------------------------------
|
||||
@Override
|
||||
public void SynchronizeFields(DBObject src) {
|
||||
@@ -40,8 +49,6 @@ public class DVMTask extends iDBObject {
|
||||
maxtime = t.maxtime;
|
||||
test_type = t.test_type;
|
||||
Time = t.Time;
|
||||
output = t.output;
|
||||
errors = t.errors;
|
||||
}
|
||||
public DVMTask(DVMTask src) {
|
||||
this.SynchronizeFields(src);
|
||||
|
||||
Reference in New Issue
Block a user