Class HealthReport
- java.lang.Object
 - 
- io.smallrye.reactive.messaging.health.HealthReport
 
 
- 
public class HealthReport extends Object
Represent an health status and its set of attached data. 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHealthReport.ChannelInfoStructure storing the health detail of a specific channel.static classHealthReport.HealthReportBuilderA builder to ease the creation ofHealthReport. 
- 
Field Summary
Fields Modifier and Type Field Description static HealthReportOK_INSTANCEA report used when there are no channels. 
- 
Constructor Summary
Constructors Constructor Description HealthReport(List<HealthReport.ChannelInfo> channels) 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HealthReport.HealthReportBuilderbuilder()List<HealthReport.ChannelInfo>getChannels()booleanisOk() 
 - 
 
- 
- 
Field Detail
- 
OK_INSTANCE
public static final HealthReport OK_INSTANCE
A report used when there are no channels. 
 - 
 
- 
Constructor Detail
- 
HealthReport
public HealthReport(List<HealthReport.ChannelInfo> channels)
 
 - 
 
- 
Method Detail
- 
isOk
public boolean isOk()
 
- 
getChannels
public List<HealthReport.ChannelInfo> getChannels()
 
- 
builder
public static HealthReport.HealthReportBuilder builder()
 
 - 
 
 -