Package net.solarnetwork.node.service
Class SystemHealthService.PingTestResults
java.lang.Object
net.solarnetwork.node.service.SystemHealthService.PingTestResults
- Enclosing interface:
SystemHealthService
A collection of ping test results.
-
Constructor Summary
ConstructorsConstructorDescriptionPingTestResults(Instant date, Map<String, net.solarnetwork.service.PingTestResultDisplay> results) Construct with values. -
Method Summary
Modifier and TypeMethodDescriptiongetDate()Get the date the tests were executed.Get a map of test ID to test results.booleanReturn true if there are test results available and all the results return true forPingTestResult.isSuccess().
-
Constructor Details
-
Method Details
-
getResults
Get a map of test ID to test results.- Returns:
- All test results.
-
getDate
Get the date the tests were executed.- Returns:
- The date.
-
isAllGood
public boolean isAllGood()Return true if there are test results available and all the results return true forPingTestResult.isSuccess().- Returns:
- true if test results are available and all tests passed
-