Class HealthReport.HealthReportBuilder
java.lang.Object
io.smallrye.reactive.messaging.health.HealthReport.HealthReportBuilder
- Enclosing class:
- HealthReport
A builder to ease the creation of
HealthReport
.
Instances are not thread-safe.-
Method Summary
Modifier and TypeMethodDescriptionadd
(HealthReport.ChannelInfo info) Adds a channel info to the report.Adds a channel info to the report.Adds a channel info to the report.build()
-
Method Details
-
add
Adds a channel info to the report.- Parameters:
info
- the info, must not benull
- Returns:
- this builder
-
add
Adds a channel info to the report.- Parameters:
channel
- the channel, must not benull
ok
- if the channel is ok- Returns:
- this builder
-
add
Adds a channel info to the report.- Parameters:
channel
- the channel, must not benull
ok
- if the channel is okmessage
- an optional message- Returns:
- this builder
-
build
- Returns:
- the built report
-