public class HealthReport extends Object
Modifier and Type | Class and Description |
---|---|
static class |
HealthReport.ChannelInfo
Structure storing the health detail of a specific channel.
|
static class |
HealthReport.HealthReportBuilder
A builder to ease the creation of
HealthReport . |
Modifier and Type | Field and Description |
---|---|
static HealthReport |
OK_INSTANCE
A report used when there are no channels.
|
Constructor and Description |
---|
HealthReport(List<HealthReport.ChannelInfo> channels) |
Modifier and Type | Method and Description |
---|---|
static HealthReport.HealthReportBuilder |
builder() |
List<HealthReport.ChannelInfo> |
getChannels() |
boolean |
isOk() |
public static final HealthReport OK_INSTANCE
public HealthReport(List<HealthReport.ChannelInfo> channels)
public boolean isOk()
public List<HealthReport.ChannelInfo> getChannels()
public static HealthReport.HealthReportBuilder builder()
Copyright © 2018–2021 SmallRye. All rights reserved.