отображение задач из json

This commit is contained in:
2023-12-16 15:34:29 +03:00
parent e69769713b
commit 94ff786ed6
10 changed files with 171 additions and 74 deletions

View File

@@ -113,7 +113,8 @@ public enum Current {
SapforProfileSetting,
//--
ProjectView,
SubscriberWorkspace;
SubscriberWorkspace,
DVMRunTask;
//-
//---
private static final LinkedHashMap<Current, Object> objects = new LinkedHashMap<>();
@@ -404,9 +405,17 @@ public enum Current {
public static TestingSystem.SAPFOR.SapforPackage.SapforPackage getSapforPackage() {
return (TestingSystem.SAPFOR.SapforPackage.SapforPackage) get(Current.SapforPackage);
}
public static boolean HasDVMRunTask() {
return get(Current.DVMRunTask) != null;
}
public static Current getDVMRunTask() {
return (Current.DVMRunTask);
}
//--------------------------------------------
public String getDescription() {
switch (this) {
case DVMRunTask:
return "Задача DVM тестирования";
case SapforPackage:
return "Пакет тестирования SAPFOR";
case DVMPackage: