public final class ApplicationHealthStatus extends Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getHealthReason()
Returns the reason for the health of application.
|
int |
hashCode() |
boolean |
isHealthy()
Returns whether the application is healthy or not.
|
String |
toString() |
static ApplicationHealthStatus |
valueOfHealthy()
Creates a healthy application status.
|
static ApplicationHealthStatus |
valueOfUnhealthy()
Creates an unhealthy application status.
|
static ApplicationHealthStatus |
valueOfUnhealthy(String reason)
Creates an unhealthy application status.
|
public static ApplicationHealthStatus valueOfHealthy()
public static ApplicationHealthStatus valueOfUnhealthy(String reason)
reason - condition that led to an unhealthy statepublic static ApplicationHealthStatus valueOfUnhealthy()
public boolean isHealthy()
true if healthy, false otherwisepublic String getHealthReason()
Copyright © 2014. All Rights Reserved.