промежуточный. немного изменил отображение задач сапфора. сравнение в процессе
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user