Added missing fault section goals in reports
This commit is contained in:
parent
e2ded94f91
commit
423e128993
|
@ -30,15 +30,21 @@ package love.distributedrebirth.nx01.warp.fault.report;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import love.distributedrebirth.nx01.warp.fault.sitra.SitraManifestReportProvider;
|
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.
|
/// Reports the system environment variables.
|
||||||
///
|
///
|
||||||
/// @author للَّٰهِilLצسُو
|
/// @author للَّٰهِilLצسُو
|
||||||
/// @version ©Δ∞ 仙上主天
|
/// @version ©Δ∞ 仙上主天
|
||||||
public class ReportSitraSystemEnvironment implements SitraManifestReportProvider {
|
public class ReportSitraSystemEnvironment implements SitraManifestReportProvider {
|
||||||
|
|
||||||
|
private static final String GOAL_SCORE = ZilLaLaManyfestoSectionGoal.BUBBLES.spaceCadet(ZilLaLaManyfestoSectionChampionsLeague.BUBBLES_ENVIRONMENT);
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void fillReport(Map<String, String> tracer) {
|
public void fillReport(Map<String, String> tracer) {
|
||||||
|
tracer.put(ZilLaLaManyfestoHeader.SIGNAL_FAULT_SECTION_GOAL, GOAL_SCORE);
|
||||||
for (String key : System.getenv().keySet()) {
|
for (String key : System.getenv().keySet()) {
|
||||||
String value = System.getenv(key);
|
String value = System.getenv(key);
|
||||||
tracer.put(key, value);
|
tracer.put(key, value);
|
||||||
|
|
|
@ -31,15 +31,21 @@ import java.util.Locale;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import love.distributedrebirth.nx01.warp.fault.sitra.SitraManifestReportProvider;
|
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.
|
/// Reports the system locale.
|
||||||
///
|
///
|
||||||
/// @author للَّٰهِilLצسُو
|
/// @author للَّٰهِilLצسُو
|
||||||
/// @version ©Δ∞ 仙上主天
|
/// @version ©Δ∞ 仙上主天
|
||||||
public class ReportSitraSystemLocale implements SitraManifestReportProvider {
|
public class ReportSitraSystemLocale implements SitraManifestReportProvider {
|
||||||
|
|
||||||
|
private static final String GOAL_SCORE = ZilLaLaManyfestoSectionGoal.BUBBLES.spaceCadet(ZilLaLaManyfestoSectionChampionsLeague.BUBBLES_LOCALE);
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void fillReport(Map<String, String> tracer) {
|
public void fillReport(Map<String, String> tracer) {
|
||||||
|
tracer.put(ZilLaLaManyfestoHeader.SIGNAL_FAULT_SECTION_GOAL, GOAL_SCORE);
|
||||||
Locale locale = Locale.getDefault();
|
Locale locale = Locale.getDefault();
|
||||||
tracer.put("Locale-Language", locale.getLanguage());
|
tracer.put("Locale-Language", locale.getLanguage());
|
||||||
tracer.put("Locale-Country", locale.getCountry());
|
tracer.put("Locale-Country", locale.getCountry());
|
||||||
|
|
|
@ -30,15 +30,21 @@ package love.distributedrebirth.nx01.warp.fault.report;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import love.distributedrebirth.nx01.warp.fault.sitra.SitraManifestReportProvider;
|
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.
|
/// Reports all the system properties.
|
||||||
///
|
///
|
||||||
/// @author للَّٰهِilLצسُو
|
/// @author للَّٰهِilLצسُو
|
||||||
/// @version ©Δ∞ 仙上主天
|
/// @version ©Δ∞ 仙上主天
|
||||||
public class ReportSitraSystemProperties implements SitraManifestReportProvider {
|
public class ReportSitraSystemProperties implements SitraManifestReportProvider {
|
||||||
|
|
||||||
|
private static final String GOAL_SCORE = ZilLaLaManyfestoSectionGoal.BUBBLES.spaceCadet(ZilLaLaManyfestoSectionChampionsLeague.BUBBLES_PROPERTIES);
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void fillReport(Map<String, String> tracer) {
|
public void fillReport(Map<String, String> tracer) {
|
||||||
|
tracer.put(ZilLaLaManyfestoHeader.SIGNAL_FAULT_SECTION_GOAL, GOAL_SCORE);
|
||||||
for (Object keyObj : System.getProperties().keySet()) {
|
for (Object keyObj : System.getProperties().keySet()) {
|
||||||
if (keyObj instanceof String) {
|
if (keyObj instanceof String) {
|
||||||
String key = String.class.cast(keyObj);
|
String key = String.class.cast(keyObj);
|
||||||
|
|
|
@ -43,6 +43,9 @@ public enum ZilLaLaManyfestoSectionChampionsLeague {
|
||||||
|
|
||||||
public static final String BUBBLES_OPERATING_SYSTEM = "os";
|
public static final String BUBBLES_OPERATING_SYSTEM = "os";
|
||||||
public static final String BUBBLES_RUMTIME = "runtime";
|
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";
|
public static final String BIMBAMBOO_MAVEN = "maven";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue