no message
This commit is contained in:
@@ -20,6 +20,7 @@ import Repository.BugReport.BugReport;
|
||||
import Repository.Subscribes.Subscriber;
|
||||
import TestingSystem.Common.Test.Test;
|
||||
import TestingSystem.DVM.Configuration.Configuration;
|
||||
import TestingSystem.DVM.DVMPackage.DVMPackage;
|
||||
import TestingSystem.DVM.Tasks.TestCompilationTask;
|
||||
import TestingSystem.DVM.Tasks.TestRunTask;
|
||||
import TestingSystem.DVM.TasksPackage.TasksPackage;
|
||||
@@ -32,6 +33,8 @@ import java.util.LinkedHashMap;
|
||||
public enum Current {
|
||||
Undefined,
|
||||
//--
|
||||
DVMPackage,
|
||||
//--
|
||||
ServerSapfor,
|
||||
SapforTasksPackage,
|
||||
SapforEtalonVersion,//самый левый пакет
|
||||
@@ -388,9 +391,19 @@ public enum Current {
|
||||
public static Repository.SubscriberWorkspace.SubscriberWorkspace getSubscriberWorkspace() {
|
||||
return (Repository.SubscriberWorkspace.SubscriberWorkspace) get(Current.SubscriberWorkspace);
|
||||
}
|
||||
//----->>
|
||||
public static boolean HasDVMPackage() {
|
||||
return get(Current.DVMPackage) != null;
|
||||
}
|
||||
public static TestingSystem.DVM.DVMPackage.DVMPackage getDVMPackage() {
|
||||
return (TestingSystem.DVM.DVMPackage.DVMPackage) get(Current.DVMPackage);
|
||||
}
|
||||
//----->>
|
||||
//--------------------------------------------
|
||||
public String getDescription() {
|
||||
switch (this) {
|
||||
case DVMPackage:
|
||||
return "Пакет тестирования DVM";
|
||||
case Configuration:
|
||||
return "Конфигурация тестирования";
|
||||
case ServerSapfor:
|
||||
|
||||
Reference in New Issue
Block a user