Package org.eclipse.microprofile.health
Class HealthCheckResponse
java.lang.Object
org.eclipse.microprofile.health.HealthCheckResponse
The response to a health check invocation.
The HealthCheckResponse class is reserved for an extension by implementation providers. An application should use one of the static methods to create a Response instance using a HealthCheckResponseBuilder.
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic HealthCheckResponseBuilder
builder()
getData()
abstract String
getName()
abstract HealthCheckResponse.State
getState()
static HealthCheckResponseBuilder
static void
Used by OSGi environment while service loader pattern is not supported.
-
Constructor Details
-
HealthCheckResponse
public HealthCheckResponse()
-
-
Method Details
-
setResponseProvider
Used by OSGi environment while service loader pattern is not supported.- Parameters:
provider
- the provider instance to use.
-
named
-
builder
-
getName
-
getState
-
getData
-