перенос проходов в центральный модуль

This commit is contained in:
2024-10-13 23:55:03 +03:00
parent 6afa2dc892
commit 4e86871571
150 changed files with 510 additions and 576 deletions

View File

@@ -24,9 +24,9 @@ public class PublishTestingServer extends RepositoryServerSSHPass {
//3. запустить сервер.
@Override
protected void ServerAction() throws Exception {
if (passes.get(PassCode.PingTestingServer).Do(true))
if ( Global.mainModule.getPass(PassCode.PingTestingServer).Do(true))
ShutdownServer();
if (passes.get(PassCode.PingTestingServer).Do(true)) {
if ( Global.mainModule.getPass(PassCode.PingTestingServer).Do(true)) {
throw new PassException("Не удалось остановить сервер.");
}
File src = Global.visualiser.getFile();
@@ -41,7 +41,7 @@ public class PublishTestingServer extends RepositoryServerSSHPass {
@Override
protected boolean validate() {
if (!passes.get(PassCode.PingTestingServer).Do(true)) {
if (! Global.mainModule.getPass(PassCode.PingTestingServer).Do(true)) {
Log.Writeln_("Не удалось запустить сервер.");
}
return true;