промежуточный. немного изменил отображение задач сапфора. сравнение в процессе

This commit is contained in:
2024-02-23 21:34:01 +03:00
parent 6a7feb96e7
commit 0092b708d3
10 changed files with 189 additions and 148 deletions

View File

@@ -95,9 +95,51 @@ public class InstallServerSapfor extends ConnectionPass<Object> {
//---
}
}
}
*/
public class InstallServerSapfor extends TestingSystemPass{
boolean result;
ServerSapfor serverSapfor;
String version_text;
//--
@Override
protected boolean canStart(Object... args) {
result = false;
version_text = "";
serverSapfor = null;
return true;
}
//--
@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));
if (response.object!=null){
result = true;
serverSapfor = (ServerSapfor) response.object;
}
}
@Override
protected void performFinish() throws Exception {
super.performFinish();
new TestingSystemPass() {
@Override
public String getDescription() {
@@ -128,28 +170,3 @@ public class InstallServerSapfor extends ConnectionPass<Object> {
passes.get(PassCode_2021.PublishServerSapfor).Do(serverSapfor);
}
}
*/
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);
}
}