@ConfigurationProperties(prefix="camel.health.check.routes") public class HealthCheckRoutesConfiguration extends Object
Modifier and Type | Class and Description |
---|---|
static class |
HealthCheckRoutesConfiguration.RouteThresholdsConfiguration |
static class |
HealthCheckRoutesConfiguration.ThresholdsConfiguration |
static class |
HealthCheckRoutesConfiguration.ThresholdsWithFailuresConfiguration |
Constructor and Description |
---|
HealthCheckRoutesConfiguration() |
Modifier and Type | Method and Description |
---|---|
Map<String,HealthCheckRoutesConfiguration.RouteThresholdsConfiguration> |
getThreshold() |
HealthCheckRoutesConfiguration.ThresholdsConfiguration |
getThreshold(String id) |
HealthCheckRoutesConfiguration.ThresholdsConfiguration |
getThresholds() |
boolean |
isEnabled() |
void |
setEnabled(boolean enabled) |
void |
setThreshold(Map<String,HealthCheckRoutesConfiguration.RouteThresholdsConfiguration> threshold) |
public boolean isEnabled()
public void setEnabled(boolean enabled)
public HealthCheckRoutesConfiguration.ThresholdsConfiguration getThresholds()
public Map<String,HealthCheckRoutesConfiguration.RouteThresholdsConfiguration> getThreshold()
public void setThreshold(Map<String,HealthCheckRoutesConfiguration.RouteThresholdsConfiguration> threshold)
public HealthCheckRoutesConfiguration.ThresholdsConfiguration getThreshold(String id)
Apache Camel