отображение задач из json
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user