public interface HealthResult
Used to represent the output of a HealthIndicator.
| Modifier and Type | Interface and Description | 
|---|---|
| static class  | HealthResult.BuilderHelper class to build instances. | 
| Modifier and Type | Method and Description | 
|---|---|
| static HealthResult.Builder | builder(String name)Creates a builder to build a  HealthResult. | 
| static HealthResult.Builder | builder(String name,
       HealthStatus status)Creates a builder to build a  HealthResult. | 
| Object | getDetails() | 
| String | getName() | 
| HealthStatus | getStatus() | 
String getName()
HealthStatus getStatus()
Object getDetails()
static HealthResult.Builder builder(String name, HealthStatus status)
HealthResult.name - The name of the resultstatus - The statusstatic HealthResult.Builder builder(String name)
HealthResult.name - The name of the result