Package net.solarnetwork.service
Class PingTestResultDisplay
java.lang.Object
net.solarnetwork.service.PingTestResult
net.solarnetwork.service.PingTestResultDisplay
- All Implemented Interfaces:
PingTest.Result
Extension of
PingTestResult to support a UI layer.- Since:
- 1.52
- Version:
- 2.0
- Author:
- matt
-
Constructor Summary
ConstructorsConstructorDescriptionPingTestResultDisplay(PingTest test, PingTest.Result result, Instant start) Construct from a test and a result. -
Method Summary
Methods inherited from class net.solarnetwork.service.PingTestResult
getMessage, getProperties, isSuccess
-
Constructor Details
-
PingTestResultDisplay
Construct from a test and a result.- Parameters:
test- The test.result- The result.start- The time the test started.- Throws:
IllegalArgumentException- if any argument is null
-
-
Method Details
-
getPingTestId
-
getPingTestName
-
getStart
-
getEnd
-
getDuration
-