Browse Source

REPORT-106669 报表埋点补充开发文档 启动埋点新增JDK属性

feature/x
Destiny.Lin 1 year ago
parent
commit
ba7a3e241f
  1. 15
      designer-base/src/main/java/com/fr/startup/metric/DesignerStartupModel.java

15
designer-base/src/main/java/com/fr/startup/metric/DesignerStartupModel.java

@ -40,6 +40,11 @@ public class DesignerStartupModel {
*/
private int mode;
/**
* jdkVersion:JDK版本
*/
private String jdkVersion;
public DesignerStartupModel() {
}
@ -74,6 +79,14 @@ public class DesignerStartupModel {
this.info = info;
}
public String getJdkVersion() {
return jdkVersion;
}
public void setJdkVersion(String jdkVersion) {
this.jdkVersion = jdkVersion;
}
public int getMode() {
return mode;
}
@ -83,7 +96,7 @@ public class DesignerStartupModel {
}
private void fillInfo() {
this.setJdkVersion(System.getProperty("java.runtime.version"));
MachineInfo info = new MachineInfo();
AbstractOperatingSystem operatingSystem = OperatingSystem.getOperatingSystem();
info.setSystem(operatingSystem.getDisplayString());

Loading…
Cancel
Save