отображение задач из json
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
package TestingSystem.Common.TestingPackage;
|
||||
import Common.Constants;
|
||||
import Common.Database.DBObject;
|
||||
import Common.Database.riDBObject;
|
||||
import Common.Global;
|
||||
import Common.Utils.Utils;
|
||||
import TestingSystem.DVM.DVMPackage.DVMPackage_json;
|
||||
import TestingSystem.DVM.TasksPackage.TasksPackageState;
|
||||
import com.sun.org.glassfish.gmbal.Description;
|
||||
|
||||
@@ -49,12 +48,15 @@ public abstract class TestingPackage<J> extends riDBObject {
|
||||
}
|
||||
//------------------------
|
||||
@Description("IGNORED")
|
||||
public J package_json=null;
|
||||
public J package_json = null;
|
||||
public abstract Class getJsonClass();
|
||||
public abstract File getHomeDirectory();
|
||||
public File getJsonFile() {
|
||||
return new File(getLocalWorkspace(), "package_json");
|
||||
}
|
||||
public File getLoadedFile() {
|
||||
return new File(getLocalWorkspace(), Constants.LOADED);
|
||||
}
|
||||
public void saveJson() throws Exception {
|
||||
Utils.jsonToFile(package_json, getJsonFile());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user