public class HealthCheckResult
extends java.lang.Object
Constructor and Description |
---|
HealthCheckResult() |
HealthCheckResult(HealthStatus status) |
HealthCheckResult(HealthStatus status,
java.lang.String message) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
java.lang.Throwable |
getException() |
java.lang.String |
getMessage() |
HealthStatus |
getStatus() |
long |
getTimestamp() |
boolean |
isCritical() |
boolean |
isFatal() |
boolean |
isOk() |
boolean |
isRecover() |
boolean |
isUnknown() |
boolean |
isWarning() |
void |
setException(java.lang.Throwable exception) |
void |
setMessage(java.lang.String message) |
void |
setRecover(boolean recover) |
void |
setStatus(HealthStatus status) |
void |
setTimestamp(long timestamp) |
java.lang.String |
toString() |
public HealthCheckResult()
public HealthCheckResult(HealthStatus status)
public HealthCheckResult(HealthStatus status, java.lang.String message)
public HealthStatus getStatus()
public void setStatus(HealthStatus status)
public java.lang.String getMessage()
public void setMessage(java.lang.String message)
public long getTimestamp()
public void setTimestamp(long timestamp)
public boolean isRecover()
public void setRecover(boolean recover)
public java.lang.Throwable getException()
public void setException(java.lang.Throwable exception)
public boolean isOk()
public boolean isWarning()
public boolean isCritical()
public boolean isFatal()
public boolean isUnknown()
public java.lang.String getDescription()
public java.lang.String toString()
toString
in class java.lang.Object