All Downloads are FREE. Search and download functionalities are using the official Maven repository.

nl.orange11.healthcheck.api.PingResult Maven / Gradle / Ivy

There is a newer version: 0.3.2
Show newest version
package nl.orange11.healthcheck.api;

/**
 * 

Result usually returned by the Basic and Extended ping executors. The information is enough to understand the state * of the system. The result contains the SystemStatus code as well as a description. You can also obtain the name of * the ping executor that was used to obtain the ping result.

* * @author Jettro Coenradie */ public class PingResult { private String pingExecutorName; private SystemStatus systemStatus; private String message; public PingResult(String name, SystemStatus systemStatus, String message) { this.pingExecutorName = name; this.systemStatus = systemStatus; this.message = message; } public String getPingExecutorName() { return pingExecutorName; } public String getMessage() { return message; } public SystemStatus getSystemStatus() { return systemStatus; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy