Uses of Record Class
dev.ua.theroer.magicutils.diagnostics.DiagnosticResult
Packages that use DiagnosticResult
-
Uses of DiagnosticResult in dev.ua.theroer.magicutils.diagnostics
Methods in dev.ua.theroer.magicutils.diagnostics that return DiagnosticResultModifier and TypeMethodDescriptionstatic DiagnosticResultDiagnosticResult.fail(String checkId, String suite, DiagnosticSeverity severity, String message, Map<String, Object> details, @Nullable Throwable error) Creates a FAIL result.static DiagnosticResultDiagnosticResult.ok(String checkId, String suite, DiagnosticSeverity severity, String message, Map<String, Object> details) Creates an OK result.static DiagnosticResultDiagnosticResult.skipped(String checkId, String suite, DiagnosticSeverity severity, String message, Map<String, Object> details) Creates a SKIPPED result.static DiagnosticResultDiagnosticResult.warn(String checkId, String suite, DiagnosticSeverity severity, String message, Map<String, Object> details) Creates a WARN result.DiagnosticResult.withDuration(Duration duration) Returns a copy with the measured duration attached.Methods in dev.ua.theroer.magicutils.diagnostics that return types with arguments of type DiagnosticResultModifier and TypeMethodDescriptionDiagnosticReport.blockingResults(DiagnosticSeverity threshold) Returns the results that block publication for the given severity threshold.DiagnosticReport.results()Returns the value of theresultsrecord component.DiagnosticCheck.run(DiagnosticContext context) Runs the check.Constructor parameters in dev.ua.theroer.magicutils.diagnostics with type arguments of type DiagnosticResultModifierConstructorDescriptionDiagnosticReport(String runtimeName, DiagnosticMode mode, Instant startedAt, Duration duration, List<DiagnosticResult> results) DiagnosticReport(String runtimeName, DiagnosticMode mode, Instant startedAt, Duration duration, Map<String, Object> technical, List<DiagnosticResult> results) Creates a normalized report.