Отображение результатов задач.
This commit is contained in:
@@ -1,13 +1,11 @@
|
||||
package Visual_DVM_2021.Passes.All;
|
||||
import Common.Constants;
|
||||
import Common.Global;
|
||||
import Common.UI.UI;
|
||||
import TestingSystem.Common.TestingServer;
|
||||
import Common.Utils.Utils;
|
||||
import TestingSystem.DVM.DVMPackage.DVMPackage;
|
||||
import Visual_DVM_2021.Passes.DeleteServerObjects;
|
||||
import Visual_DVM_2021.Passes.DeleteTestingPackages;
|
||||
|
||||
import java.util.Vector;
|
||||
import java.io.File;
|
||||
public class DeleteDVMPackage extends DeleteTestingPackages<DVMPackage> {
|
||||
public DeleteDVMPackage() {
|
||||
super(DVMPackage.class);
|
||||
@@ -16,5 +14,14 @@ public class DeleteDVMPackage extends DeleteTestingPackages<DVMPackage> {
|
||||
super.showPreparation();
|
||||
UI.getMainWindow().getTestingWindow().DropTestRunTasksComparison();
|
||||
}
|
||||
@Override
|
||||
protected void performDone() throws Exception {
|
||||
super.performDone();
|
||||
for (Object object : target) {
|
||||
int id = (int) object;
|
||||
File workspace = new File(Global.PackagesDirectory, String.valueOf(id));
|
||||
Utils.forceDeleteWithCheck(workspace);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user