промежуточный. отладка проверки папки на бытность тестом.
This commit is contained in:
22
src/Visual_DVM_2021/Passes/All/PublishTests.java
Normal file
22
src/Visual_DVM_2021/Passes/All/PublishTests.java
Normal file
@@ -0,0 +1,22 @@
|
||||
package Visual_DVM_2021.Passes.All;
|
||||
import Repository.Server.ServerCode;
|
||||
import Repository.Server.ServerExchangeUnit_2021;
|
||||
import TestingSystem.Common.Test.Test;
|
||||
import Visual_DVM_2021.Passes.Server.TestingSystemPass;
|
||||
|
||||
import java.util.Vector;
|
||||
public class PublishTests extends TestingSystemPass<Vector<Test>> {
|
||||
@Override
|
||||
protected boolean canStart(Object... args) throws Exception {
|
||||
return target != null && !target.isEmpty();
|
||||
}
|
||||
@Override
|
||||
protected void ServerAction() throws Exception {
|
||||
Command(new ServerExchangeUnit_2021(ServerCode.PublishObjects, "", target));
|
||||
}
|
||||
@Override
|
||||
protected void performFinish() throws Exception {
|
||||
super.performFinish();
|
||||
passes.get(server.db.getSynchronizePassCode()).Do();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user