Interface DiagnosticsService
public interface DiagnosticsService
Service for executing and exporting runtime diagnostics.
-
Method Summary
Modifier and TypeMethodDescriptiondefault PathexportJson(DiagnosticReport report) Exports a report to JSON using the default runtime path.exportJson(DiagnosticReport report, Path path) Exports a report to JSON.registry()Returns the backing registry.runAll(DiagnosticRunRequest request) Runs all checks.runChecks(Collection<String> ids, DiagnosticRunRequest request) Runs selected checks by id.runSuite(String suite, DiagnosticRunRequest request) Runs all checks in a suite.runtime()Returns the runtime bound to this service.
-
Method Details
-
runtime
-
registry
-
runAll
Runs all checks.- Parameters:
request- run request- Returns:
- collected report
-
runSuite
Runs all checks in a suite.- Parameters:
suite- suite identifierrequest- run request- Returns:
- collected report
-
runChecks
Runs selected checks by id.- Parameters:
ids- check idsrequest- run request- Returns:
- collected report
-
exportJson
Exports a report to JSON using the default runtime path.- Parameters:
report- report to export- Returns:
- written path
-
exportJson
Exports a report to JSON.- Parameters:
report- report to exportpath- destination path- Returns:
- written path
-