no message
This commit is contained in:
@@ -1,14 +1,15 @@
|
||||
package _VisualDVM.Passes.All;
|
||||
import _VisualDVM.Global;
|
||||
import _VisualDVM.Passes.PassCode;
|
||||
import _VisualDVM.Passes.SSH.RepositoryServerSSHPass;
|
||||
import _VisualDVM.Global;
|
||||
public class ShutdownComponentsServer extends RepositoryServerSSHPass {
|
||||
@Override
|
||||
protected String getServerFileName() {
|
||||
return "VisualSapfor.jar";
|
||||
return "VisualSapfor.jar";
|
||||
}
|
||||
@Override
|
||||
protected String getServerHomeName() { return "_sapfor_x64";
|
||||
protected String getServerHomeName() {
|
||||
return "_sapfor_x64";
|
||||
}
|
||||
@Override
|
||||
public String getIconPath() {
|
||||
@@ -16,9 +17,9 @@ public class ShutdownComponentsServer 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