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

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