Class HealthCheckResponseBuilderImpl
- java.lang.Object
-
- org.eclipse.microprofile.health.HealthCheckResponseBuilder
-
- fish.payara.microprofile.healthcheck.response.HealthCheckResponseBuilderImpl
-
public class HealthCheckResponseBuilderImpl extends org.eclipse.microprofile.health.HealthCheckResponseBuilder
Base Implementation of HealthCheckResponseBuilder.- Author:
- Andrew Pielage
-
-
Constructor Summary
Constructors Constructor Description HealthCheckResponseBuilderImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.microprofile.health.HealthCheckResponse
build()
org.eclipse.microprofile.health.HealthCheckResponseBuilder
down()
org.eclipse.microprofile.health.HealthCheckResponseBuilder
name(String name)
org.eclipse.microprofile.health.HealthCheckResponseBuilder
status(boolean up)
org.eclipse.microprofile.health.HealthCheckResponseBuilder
up()
org.eclipse.microprofile.health.HealthCheckResponseBuilder
withData(String key, boolean value)
org.eclipse.microprofile.health.HealthCheckResponseBuilder
withData(String key, long value)
org.eclipse.microprofile.health.HealthCheckResponseBuilder
withData(String key, String value)
-
-
-
Method Detail
-
name
public org.eclipse.microprofile.health.HealthCheckResponseBuilder name(String name)
- Specified by:
name
in classorg.eclipse.microprofile.health.HealthCheckResponseBuilder
-
withData
public org.eclipse.microprofile.health.HealthCheckResponseBuilder withData(String key, String value)
- Specified by:
withData
in classorg.eclipse.microprofile.health.HealthCheckResponseBuilder
-
withData
public org.eclipse.microprofile.health.HealthCheckResponseBuilder withData(String key, long value)
- Specified by:
withData
in classorg.eclipse.microprofile.health.HealthCheckResponseBuilder
-
withData
public org.eclipse.microprofile.health.HealthCheckResponseBuilder withData(String key, boolean value)
- Specified by:
withData
in classorg.eclipse.microprofile.health.HealthCheckResponseBuilder
-
up
public org.eclipse.microprofile.health.HealthCheckResponseBuilder up()
- Specified by:
up
in classorg.eclipse.microprofile.health.HealthCheckResponseBuilder
-
down
public org.eclipse.microprofile.health.HealthCheckResponseBuilder down()
- Specified by:
down
in classorg.eclipse.microprofile.health.HealthCheckResponseBuilder
-
status
public org.eclipse.microprofile.health.HealthCheckResponseBuilder status(boolean up)
- Specified by:
status
in classorg.eclipse.microprofile.health.HealthCheckResponseBuilder
-
build
public org.eclipse.microprofile.health.HealthCheckResponse build()
- Specified by:
build
in classorg.eclipse.microprofile.health.HealthCheckResponseBuilder
-
-