fix.убрал из общей(в перспективе библиотечной) части ссылки на частные объекты визуализатора

This commit is contained in:
2024-10-16 00:40:45 +03:00
parent b79474fdd1
commit 071aab5ea6
54 changed files with 166 additions and 113 deletions

View File

@@ -1,4 +1,5 @@
package _VisualDVM.Passes.SSH;
import Common.CommonConstants;
import Common.Utils.Utils_;
import _VisualDVM.Constants;
import _VisualDVM.Global;
@@ -39,7 +40,7 @@ public abstract class RepositoryServerSSHPass extends ConnectionPass {
protected void StartServer() throws Exception {
user.connection.startShellProcess(serverHome, "server_out.txt", "java -jar " + getServerFileName());
//--
RemoteFile StartLog = new RemoteFile(serverHome, Constants.STARTED +
RemoteFile StartLog = new RemoteFile(serverHome, CommonConstants.STARTED +
"_by_" +
Global.mainModule.getAccount().email +
"_" +
@@ -58,8 +59,8 @@ public abstract class RepositoryServerSSHPass extends ConnectionPass {
}
}
protected void ShutdownServer() throws Exception {
RemoteFile INTERRUPT = new RemoteFile(serverHome, Constants.INTERRUPT);
RemoteFile ABORTED = new RemoteFile(serverHome, Constants.ABORTED);
RemoteFile INTERRUPT = new RemoteFile(serverHome, CommonConstants.INTERRUPT);
RemoteFile ABORTED = new RemoteFile(serverHome, CommonConstants.ABORTED);
//--
ShowMessage1("Создание файла INTERRUPT..");
user.connection.writeToFile("", INTERRUPT);
@@ -71,7 +72,7 @@ public abstract class RepositoryServerSSHPass extends ConnectionPass {
//--
ShowMessage2("");
ShowMessage1("Журнализация");
RemoteFile AbortLog = new RemoteFile(serverHome, Constants.ABORTED +
RemoteFile AbortLog = new RemoteFile(serverHome, CommonConstants.ABORTED +
"_by_" +
Global.mainModule.getAccount().email +
"_" +