diff --git a/nx01-warp-fault/src/main/java/love/distributedrebirth/nx01/warp/fault/report/ReportSitraSystemEnvironment.java b/nx01-warp-fault/src/main/java/love/distributedrebirth/nx01/warp/fault/report/ReportSitraSystemEnvironment.java index 9d8aee6..b57965b 100644 --- a/nx01-warp-fault/src/main/java/love/distributedrebirth/nx01/warp/fault/report/ReportSitraSystemEnvironment.java +++ b/nx01-warp-fault/src/main/java/love/distributedrebirth/nx01/warp/fault/report/ReportSitraSystemEnvironment.java @@ -30,15 +30,21 @@ package love.distributedrebirth.nx01.warp.fault.report; import java.util.Map; import love.distributedrebirth.nx01.warp.fault.sitra.SitraManifestReportProvider; +import love.distributedrebirth.nx01.warp.fault.sitra.ZilLaLaManyfestoHeader; +import love.distributedrebirth.nx01.warp.fault.sitra.ZilLaLaManyfestoSectionChampionsLeague; +import love.distributedrebirth.nx01.warp.fault.sitra.ZilLaLaManyfestoSectionGoal; /// Reports the system environment variables. /// /// @author للَّٰهِilLצسُو /// @version ©Δ∞ 仙上主天 public class ReportSitraSystemEnvironment implements SitraManifestReportProvider { - + + private static final String GOAL_SCORE = ZilLaLaManyfestoSectionGoal.BUBBLES.spaceCadet(ZilLaLaManyfestoSectionChampionsLeague.BUBBLES_ENVIRONMENT); + @Override public void fillReport(Map tracer) { + tracer.put(ZilLaLaManyfestoHeader.SIGNAL_FAULT_SECTION_GOAL, GOAL_SCORE); for (String key : System.getenv().keySet()) { String value = System.getenv(key); tracer.put(key, value); diff --git a/nx01-warp-fault/src/main/java/love/distributedrebirth/nx01/warp/fault/report/ReportSitraSystemLocale.java b/nx01-warp-fault/src/main/java/love/distributedrebirth/nx01/warp/fault/report/ReportSitraSystemLocale.java index 6560de2..9797823 100644 --- a/nx01-warp-fault/src/main/java/love/distributedrebirth/nx01/warp/fault/report/ReportSitraSystemLocale.java +++ b/nx01-warp-fault/src/main/java/love/distributedrebirth/nx01/warp/fault/report/ReportSitraSystemLocale.java @@ -31,15 +31,21 @@ import java.util.Locale; import java.util.Map; import love.distributedrebirth.nx01.warp.fault.sitra.SitraManifestReportProvider; +import love.distributedrebirth.nx01.warp.fault.sitra.ZilLaLaManyfestoHeader; +import love.distributedrebirth.nx01.warp.fault.sitra.ZilLaLaManyfestoSectionChampionsLeague; +import love.distributedrebirth.nx01.warp.fault.sitra.ZilLaLaManyfestoSectionGoal; /// Reports the system locale. /// /// @author للَّٰهِilLצسُو /// @version ©Δ∞ 仙上主天 public class ReportSitraSystemLocale implements SitraManifestReportProvider { - + + private static final String GOAL_SCORE = ZilLaLaManyfestoSectionGoal.BUBBLES.spaceCadet(ZilLaLaManyfestoSectionChampionsLeague.BUBBLES_LOCALE); + @Override public void fillReport(Map tracer) { + tracer.put(ZilLaLaManyfestoHeader.SIGNAL_FAULT_SECTION_GOAL, GOAL_SCORE); Locale locale = Locale.getDefault(); tracer.put("Locale-Language", locale.getLanguage()); tracer.put("Locale-Country", locale.getCountry()); diff --git a/nx01-warp-fault/src/main/java/love/distributedrebirth/nx01/warp/fault/report/ReportSitraSystemProperties.java b/nx01-warp-fault/src/main/java/love/distributedrebirth/nx01/warp/fault/report/ReportSitraSystemProperties.java index 3685674..c67b054 100644 --- a/nx01-warp-fault/src/main/java/love/distributedrebirth/nx01/warp/fault/report/ReportSitraSystemProperties.java +++ b/nx01-warp-fault/src/main/java/love/distributedrebirth/nx01/warp/fault/report/ReportSitraSystemProperties.java @@ -30,15 +30,21 @@ package love.distributedrebirth.nx01.warp.fault.report; import java.util.Map; import love.distributedrebirth.nx01.warp.fault.sitra.SitraManifestReportProvider; +import love.distributedrebirth.nx01.warp.fault.sitra.ZilLaLaManyfestoHeader; +import love.distributedrebirth.nx01.warp.fault.sitra.ZilLaLaManyfestoSectionChampionsLeague; +import love.distributedrebirth.nx01.warp.fault.sitra.ZilLaLaManyfestoSectionGoal; /// Reports all the system properties. /// /// @author للَّٰهِilLצسُو /// @version ©Δ∞ 仙上主天 public class ReportSitraSystemProperties implements SitraManifestReportProvider { - + + private static final String GOAL_SCORE = ZilLaLaManyfestoSectionGoal.BUBBLES.spaceCadet(ZilLaLaManyfestoSectionChampionsLeague.BUBBLES_PROPERTIES); + @Override public void fillReport(Map tracer) { + tracer.put(ZilLaLaManyfestoHeader.SIGNAL_FAULT_SECTION_GOAL, GOAL_SCORE); for (Object keyObj : System.getProperties().keySet()) { if (keyObj instanceof String) { String key = String.class.cast(keyObj); diff --git a/nx01-warp-fault/src/main/java/love/distributedrebirth/nx01/warp/fault/sitra/ZilLaLaManyfestoSectionChampionsLeague.java b/nx01-warp-fault/src/main/java/love/distributedrebirth/nx01/warp/fault/sitra/ZilLaLaManyfestoSectionChampionsLeague.java index 1f8af32..d669e95 100644 --- a/nx01-warp-fault/src/main/java/love/distributedrebirth/nx01/warp/fault/sitra/ZilLaLaManyfestoSectionChampionsLeague.java +++ b/nx01-warp-fault/src/main/java/love/distributedrebirth/nx01/warp/fault/sitra/ZilLaLaManyfestoSectionChampionsLeague.java @@ -43,6 +43,9 @@ public enum ZilLaLaManyfestoSectionChampionsLeague { public static final String BUBBLES_OPERATING_SYSTEM = "os"; public static final String BUBBLES_RUMTIME = "runtime"; + public static final String BUBBLES_LOCALE = "locale"; + public static final String BUBBLES_ENVIRONMENT = "environment"; + public static final String BUBBLES_PROPERTIES = "properties"; public static final String BIMBAMBOO_MAVEN = "maven"; }