[640][adas] MogoReport更新到420
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1,7 +1,9 @@
|
||||
package com.zhjt.mogo.adas.data.bean;
|
||||
|
||||
public class ReportCodeInfo {
|
||||
public final String code;
|
||||
import android.text.TextUtils;
|
||||
|
||||
public class ReportInfo {
|
||||
public final String name;
|
||||
/**
|
||||
* 开始支持的版本(包含)
|
||||
*/
|
||||
@@ -12,17 +14,14 @@ public class ReportCodeInfo {
|
||||
*/
|
||||
public final String deprecatedVersion;
|
||||
|
||||
public ReportCodeInfo(String code, String sinceVersion, String deprecatedVersion) {
|
||||
this.code = code;
|
||||
public ReportInfo(String name, String sinceVersion, String deprecatedVersion) {
|
||||
this.name = name;
|
||||
this.sinceVersion = sinceVersion;
|
||||
this.deprecatedVersion = deprecatedVersion;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return code +
|
||||
" sinceVersion='" + sinceVersion + '\'' +
|
||||
", deprecatedVersion='" + deprecatedVersion + '\'' +
|
||||
'}';
|
||||
return name + " 开始支持版本(包含)=" + sinceVersion + (TextUtils.isEmpty(deprecatedVersion) ? "" : ", 弃用版本(不包含)='" + deprecatedVersion);
|
||||
}
|
||||
}
|
||||
@@ -7,13 +7,13 @@ import java.lang.annotation.Target;
|
||||
|
||||
/**
|
||||
* MAP系统消息报告版本管理
|
||||
* 主要用于标记新增Code的版本,以及标记弃用的的Code
|
||||
* 主要用于标记新增Result、Action、Code的版本,以及标记弃用的Result、Action、Code
|
||||
*/
|
||||
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target(ElementType.FIELD)
|
||||
public @interface CodeInfo {
|
||||
String value();//Code新增版本
|
||||
public @interface ReportState {
|
||||
String value();//新增版本
|
||||
|
||||
String deprecated() default "";//Code弃用版本
|
||||
String deprecated() default "";//弃用版本
|
||||
}
|
||||
Reference in New Issue
Block a user