Modifier and Type | Method and Description |
---|---|
void |
addConfiguration(String id,
HealthCheckConfiguration configuration)
Adds a health check configuration
|
Map<String,HealthCheckConfiguration> |
getConfigurations()
Configurations for health checks based on their ids
|
boolean |
isEnabled()
Set if the checks associated to this repository is enabled or not.
|
void |
setConfigurations(Map<String,HealthCheckConfiguration> configurations)
Configurations for health checks based on their ids
|
void |
setEnabled(boolean enabled)
Set if the checks associated to this repository is enabled or not.
|
Stream<HealthCheck> |
stream()
Returns a sequential
Stream with the known HealthCheck as its source. |
boolean isEnabled()
void setEnabled(boolean enabled)
void setConfigurations(Map<String,HealthCheckConfiguration> configurations)
Map<String,HealthCheckConfiguration> getConfigurations()
void addConfiguration(String id, HealthCheckConfiguration configuration)
id
- the health check id (can use patterns)configuration
- the configurationStream<HealthCheck> stream()
Stream
with the known HealthCheck
as its source.Apache Camel