рефакторинг. Исправлен баг. если прервать локальную задачу, не удалялся файл interrupt.
This commit is contained in:
2024-01-08 20:37:16 +03:00
parent 5baf2154e2
commit fce61bf55a
26 changed files with 281 additions and 582 deletions

View File

@@ -4,7 +4,6 @@ import Common.Current;
import Common.Database.iDBObject;
import GlobalData.Machine.Machine;
import TestingSystem.DVM.UserConnection;
import files.ConnectionPass;
import com.sun.org.glassfish.gmbal.Description;
import java.io.File;
@@ -53,20 +52,21 @@ public class User extends iDBObject {
public File getLocalModulesDir() {
return Paths.get(workspace, "modules").toFile();
}
public File getHeaderCodeFile() {
return Paths.get(workspace, "modules", ConnectionPass.Process_r_header).toFile();
return Paths.get(workspace, "modules", "Process_r.h").toFile();
}
public File getStarterCodeFile() {
return Paths.get(workspace, "modules", ConnectionPass.starter_code).toFile();
return Paths.get(workspace, "modules", "starter.cpp").toFile();
}
public File getStarterFile() {
return Paths.get(workspace, "modules", ConnectionPass.starter).toFile();
return Paths.get(workspace, "modules", "starter").toFile();
}
public File getLauncherCodeFile() {
return Paths.get(workspace, "modules", ConnectionPass.launcher_code).toFile();
return Paths.get(workspace, "modules", "launcher.cpp").toFile();
}
public File getLauncherFile() {
return Paths.get(workspace, "modules", ConnectionPass.launcher).toFile();
return Paths.get(workspace, "modules", "launcher").toFile();
}
//-
@Description("IGNORE")