рефакторинг запроса версий компонент. сделал одной командой
This commit is contained in:
@@ -10,7 +10,7 @@ public enum ServerCode {
|
||||
//-
|
||||
GetComponentsBackups,
|
||||
//-
|
||||
UpdateBugReportField,
|
||||
UpdateBugReportField,//todo выкинуть после обновления.
|
||||
UpdateBugReport,
|
||||
AppendBugReportTextField,
|
||||
//-
|
||||
@@ -46,8 +46,9 @@ public enum ServerCode {
|
||||
ReceiveComponent,
|
||||
ReceiveBugReport,
|
||||
SendBugReport,
|
||||
GetComponentsVersions,
|
||||
GetComponentsMinimalVersions,
|
||||
GetComponentsVersions, //todo удалить устарел
|
||||
GetComponentsMinimalVersions, //todo удалить устарел
|
||||
GetComponentsVersionsInfo,
|
||||
GetComponentChangesLog,
|
||||
//--
|
||||
CheckURLRegistered,
|
||||
@@ -89,6 +90,14 @@ public enum ServerCode {
|
||||
GetSapforForCompilation,
|
||||
GetMaxSapforVersion,
|
||||
PerformAutoSapforTesting,
|
||||
Email_new
|
||||
;
|
||||
Email_new;
|
||||
|
||||
public String getDescription(){
|
||||
switch (this){
|
||||
case GetComponentsVersionsInfo:
|
||||
return "Получить версии компонент";
|
||||
default:
|
||||
return this.toString();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user