Class HealthCheckResponseBuilderImpl
- java.lang.Object
-
- org.eclipse.microprofile.health.HealthCheckResponseBuilder
-
- fish.payara.microprofile.healthcheck.response.HealthCheckResponseBuilderImpl
-
public class HealthCheckResponseBuilderImpl extends org.eclipse.microprofile.health.HealthCheckResponseBuilderBase 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.HealthCheckResponsebuild()org.eclipse.microprofile.health.HealthCheckResponseBuilderdown()org.eclipse.microprofile.health.HealthCheckResponseBuildername(String name)org.eclipse.microprofile.health.HealthCheckResponseBuilderstatus(boolean up)org.eclipse.microprofile.health.HealthCheckResponseBuilderup()org.eclipse.microprofile.health.HealthCheckResponseBuilderwithData(String key, boolean value)org.eclipse.microprofile.health.HealthCheckResponseBuilderwithData(String key, long value)org.eclipse.microprofile.health.HealthCheckResponseBuilderwithData(String key, String value)
-
-
-
Method Detail
-
name
public org.eclipse.microprofile.health.HealthCheckResponseBuilder name(String name)
- Specified by:
namein classorg.eclipse.microprofile.health.HealthCheckResponseBuilder
-
withData
public org.eclipse.microprofile.health.HealthCheckResponseBuilder withData(String key, String value)
- Specified by:
withDatain classorg.eclipse.microprofile.health.HealthCheckResponseBuilder
-
withData
public org.eclipse.microprofile.health.HealthCheckResponseBuilder withData(String key, long value)
- Specified by:
withDatain classorg.eclipse.microprofile.health.HealthCheckResponseBuilder
-
withData
public org.eclipse.microprofile.health.HealthCheckResponseBuilder withData(String key, boolean value)
- Specified by:
withDatain classorg.eclipse.microprofile.health.HealthCheckResponseBuilder
-
up
public org.eclipse.microprofile.health.HealthCheckResponseBuilder up()
- Specified by:
upin classorg.eclipse.microprofile.health.HealthCheckResponseBuilder
-
down
public org.eclipse.microprofile.health.HealthCheckResponseBuilder down()
- Specified by:
downin classorg.eclipse.microprofile.health.HealthCheckResponseBuilder
-
status
public org.eclipse.microprofile.health.HealthCheckResponseBuilder status(boolean up)
- Specified by:
statusin classorg.eclipse.microprofile.health.HealthCheckResponseBuilder
-
build
public org.eclipse.microprofile.health.HealthCheckResponse build()
- Specified by:
buildin classorg.eclipse.microprofile.health.HealthCheckResponseBuilder
-
-