перенос проходов в центральный модуль
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user