Class PingController.PingResults

java.lang.Object
net.solarnetwork.central.web.PingController.PingResults
Enclosing class:
PingController

public static class PingController.PingResults extends Object
An overall test results class.
  • Constructor Details

    • PingResults

      public PingResults(Instant date, Map<String,net.solarnetwork.service.PingTestResultDisplay> results)
      Construct with values.
      Parameters:
      date - The date the tests were executed at.
      results - The test results (or null if none available).
  • Method Details

    • getResults

      public Map<String,net.solarnetwork.service.PingTestResultDisplay> getResults()
      Get a map of test ID to test results.
      Returns:
      All test results.
    • getDate

      public Instant 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 for PingTestResult.isSuccess().
      Returns:
      Boolean flag.