no message
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
package _VisualDVM.Passes.All;
|
||||
import _VisualDVM.Global;
|
||||
import _VisualDVM.Passes.PassCode;
|
||||
import _VisualDVM.Passes.SSH.RepositoryServerSSHPass;
|
||||
import _VisualDVM.Global;
|
||||
public class ShutdownTestingServer extends RepositoryServerSSHPass {
|
||||
@Override
|
||||
protected String getServerFileName() {
|
||||
return "TestingSystem.jar";
|
||||
return "TestingSystem.jar";
|
||||
}
|
||||
@Override
|
||||
protected String getServerHomeName() {
|
||||
@@ -17,9 +17,9 @@ public class ShutdownTestingServer extends RepositoryServerSSHPass {
|
||||
}
|
||||
@Override
|
||||
protected boolean canStart(Object... args) throws Exception {
|
||||
if ( Global.mainModule.getPass(PassCode.PingTestingServer).Do(true)){
|
||||
if (Global.mainModule.getPass(PassCode.PingTestingServer).Do(true)) {
|
||||
return true;
|
||||
}else {
|
||||
} else {
|
||||
Log.Writeln_("Сервер уже неактивен!");
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user