no message

This commit is contained in:
2024-02-19 23:49:35 +03:00
parent 11f82d2bb9
commit 6a7feb96e7
5 changed files with 67 additions and 7 deletions

View File

@@ -17,6 +17,7 @@ import Visual_DVM_2021.Passes.Server.TestingSystemPass;
import java.util.Date;
import java.util.Vector;
/*
public class InstallServerSapfor extends ConnectionPass<Object> {
boolean result;
ServerSapfor serverSapfor;
@@ -28,6 +29,10 @@ public class InstallServerSapfor extends ConnectionPass<Object> {
@Override
public String getButtonText() {
return "";
}
@Override
protected boolean needsAnimation() {
return true;
}
@Override
public void Connect() throws Exception {
@@ -42,10 +47,7 @@ public class InstallServerSapfor extends ConnectionPass<Object> {
serverSapfor = null;
return true;
}
@Override
protected boolean needsAnimation() {
return true;
}
@Override
protected void ServerAction() throws Exception {
RemoteFile testingSystemHome = new RemoteFile(user.connection.sftpChannel.pwd(), "_testing_system", true);
@@ -127,3 +129,27 @@ public class InstallServerSapfor extends ConnectionPass<Object> {
}
}
*/
public class InstallServerSapfor extends TestingSystemPass{
@Override
public String getIconPath() {
return "/icons/DownloadAll.png";
}
@Override
public String getButtonText() {
return "";
}
@Override
protected boolean needsAnimation() {
return true;
}
@Override
protected int getTimeout() {
return 0;
}
@Override
protected void ServerAction() throws Exception {
Command(new ServerExchangeUnit_2021(ServerCode.InstallServerSapfor));
System.out.println(response.object);
}
}