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

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

@@ -1,6 +1,7 @@
package Visual_DVM_2021.Passes.All;
import Visual_DVM_2021.Passes.PassCode;
import Visual_DVM_2021.Passes.SSH.RepositoryServerSSHPass;
import _VisualDVM.Global;
public class StartComponentsServer extends RepositoryServerSSHPass {
@Override
public String getIconPath() {
@@ -15,7 +16,7 @@ public class StartComponentsServer extends RepositoryServerSSHPass {
//--
@Override
protected boolean canStart(Object... args) throws Exception {
if (passes.get(PassCode.PingComponentsServer).Do(true)) {
if ( Global.mainModule.getPass(PassCode.PingComponentsServer).Do(true)) {
Log.Writeln_("Сервер уже активен!");
return false;
}
@@ -27,6 +28,6 @@ public class StartComponentsServer extends RepositoryServerSSHPass {
}
@Override
protected boolean validate() {
return passes.get(PassCode.PingComponentsServer).Do();
return Global.mainModule.getPass(PassCode.PingComponentsServer).Do();
}
}