Package net.solarnetwork.service
Interface PingTest.Result
- All Known Implementing Classes:
PingTestResult,PingTestResultDisplay
- Enclosing interface:
- PingTest
public static interface PingTest.Result
Ping test result API.
-
Method Summary
Modifier and TypeMethodDescriptionGet a descriptive messageGet optional properties related to the test.booleanTest if the test was successful.
-
Method Details
-
isSuccess
boolean isSuccess()Test if the test was successful.- Returns:
- true if the test is successful (passed), false otherwise
-
getMessage
String getMessage()Get a descriptive message- Returns:
- the message
-
getProperties
Get optional properties related to the test.- Returns:
- optional test properties
-