no message
This commit is contained in:
17
src/_VisualDVM/TestingSystem/Common/TaskThread.java
Normal file
17
src/_VisualDVM/TestingSystem/Common/TaskThread.java
Normal file
@@ -0,0 +1,17 @@
|
||||
package _VisualDVM.TestingSystem.Common;
|
||||
import _VisualDVM.TestingSystem.SAPFOR.PerformSapforTask;
|
||||
import _VisualDVM.TestingSystem.SAPFOR.SapforTask.SapforTask;
|
||||
|
||||
import java.io.File;
|
||||
public class TaskThread extends Thread {
|
||||
public SapforTask task = null;
|
||||
public TaskThread(SapforTask task_, File sapfor_drv) {
|
||||
super(() -> {
|
||||
while (!task_.state.isComplete()) {
|
||||
task_.Reset();
|
||||
new PerformSapforTask().Do(task_,sapfor_drv);
|
||||
}
|
||||
});
|
||||
task = task_;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user