Interface DiagnosticCheck
public interface DiagnosticCheck
A single runtime diagnostic check.
-
Method Summary
Modifier and TypeMethodDescriptionHuman-readable description.id()Stable identifier for this check.run(DiagnosticContext context) Runs the check.severity()Importance when the check fails.suite()Logical suite grouping.default EnumSet<DiagnosticMode> Supported execution modes.
-
Method Details
-
id
-
suite
-
description
-
severity
-
supportedModes
Supported execution modes.- Returns:
- supported modes
-
run
Runs the check.- Parameters:
context- diagnostic context- Returns:
- completion stage with the result
-