Uses of Enum Class
dev.ua.theroer.magicutils.diagnostics.DiagnosticSeverity
Packages that use DiagnosticSeverity
-
Uses of DiagnosticSeverity in dev.ua.theroer.magicutils.diagnostics
Subclasses with type arguments of type DiagnosticSeverity in dev.ua.theroer.magicutils.diagnosticsMethods in dev.ua.theroer.magicutils.diagnostics that return DiagnosticSeverityModifier and TypeMethodDescriptionDiagnosticCheck.severity()Importance when the check fails.DiagnosticResult.severity()Returns the value of theseverityrecord component.static DiagnosticSeverityReturns the enum constant of this class with the specified name.static DiagnosticSeverity[]DiagnosticSeverity.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in dev.ua.theroer.magicutils.diagnostics with parameters of type DiagnosticSeverityModifier and TypeMethodDescriptionDiagnosticReport.blockingResults(DiagnosticSeverity threshold) Returns the results that block publication for the given severity threshold.static DiagnosticResultDiagnosticResult.fail(String checkId, String suite, DiagnosticSeverity severity, String message, Map<String, Object> details, @Nullable Throwable error) Creates a FAIL result.booleanDiagnosticReport.isPublishable(DiagnosticSeverity threshold) Returns the publish-readiness verdict using a custom severity threshold.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.Constructors in dev.ua.theroer.magicutils.diagnostics with parameters of type DiagnosticSeverityModifierConstructorDescriptionDiagnosticResult(String checkId, String suite, DiagnosticStatus status, DiagnosticSeverity severity, String message, Duration duration, Map<String, Object> details, @Nullable Throwable error) Creates a normalized result record.