Class HealthCheckResult
- java.lang.Object
-
- org.nuxeo.ecm.core.management.statuses.HealthCheckResult
-
public class HealthCheckResult extends Object
Returns the status of the application- Since:
- 9.3
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
EMPTY_JSON
protected boolean
healthy
protected Collection<ProbeInfo>
probes
-
Constructor Summary
Constructors Constructor Description HealthCheckResult(Collection<ProbeInfo> probesToCheck)
-
-
-
Field Detail
-
EMPTY_JSON
protected static final String EMPTY_JSON
- See Also:
- Constant Field Values
-
probes
protected final Collection<ProbeInfo> probes
-
healthy
protected final boolean healthy
-
-
Constructor Detail
-
HealthCheckResult
public HealthCheckResult(Collection<ProbeInfo> probesToCheck)
-
-
Method Detail
-
isHealthy
public boolean isHealthy()
-
toJson
public String toJson()
-
-