@Configurer public class HealthConfigurationProperties extends Object
| Constructor and Description |
|---|
HealthConfigurationProperties(MainConfigurationProperties parent) |
| Modifier and Type | Method and Description |
|---|---|
HealthConfigurationProperties |
addConfig(String id,
HealthCheckConfigurationProperties config)
Additional
HealthConfigurationProperties for fine grained configuration of health checks. |
MainConfigurationProperties |
end() |
Map<String,HealthCheckConfigurationProperties> |
getConfig() |
Boolean |
getContextEnabled() |
Boolean |
getEnabled() |
Boolean |
getRegistryEnabled() |
Boolean |
getRoutesEnabled() |
void |
setConfig(Map<String,HealthCheckConfigurationProperties> config)
Set additional
HealthConfigurationProperties for fine grained configuration of health checks. |
void |
setContextEnabled(Boolean contextEnabled)
Whether context health check is enabled
Is default enabled
|
void |
setEnabled(Boolean enabled)
Whether health check is enabled globally
|
void |
setRegistryEnabled(Boolean registryEnabled)
Whether registry health check is enabled
Is default enabled
|
void |
setRoutesEnabled(Boolean routesEnabled)
Whether routes health check is enabled
Is default enabled
|
HealthConfigurationProperties |
withContextEnabled(boolean contextEnabled)
Whether context health check is enabled
Is default enabled
|
HealthConfigurationProperties |
withEnabled(boolean enabled)
Whether health check is enabled globally
|
HealthConfigurationProperties |
withRegistryEnabled(boolean registryEnabled)
Whether registry health check is enabled
Is default enabled
|
HealthConfigurationProperties |
withRoutesEnabled(boolean routesEnabled)
Whether routes health check is enabled
Is default enabled
|
public HealthConfigurationProperties(MainConfigurationProperties parent)
public MainConfigurationProperties end()
public Boolean getEnabled()
public void setEnabled(Boolean enabled)
public Boolean getContextEnabled()
public void setContextEnabled(Boolean contextEnabled)
public Boolean getRoutesEnabled()
public void setRoutesEnabled(Boolean routesEnabled)
public Boolean getRegistryEnabled()
public void setRegistryEnabled(Boolean registryEnabled)
public Map<String,HealthCheckConfigurationProperties> getConfig()
public void setConfig(Map<String,HealthCheckConfigurationProperties> config)
HealthConfigurationProperties for fine grained configuration of health checks.public HealthConfigurationProperties withEnabled(boolean enabled)
public HealthConfigurationProperties withContextEnabled(boolean contextEnabled)
public HealthConfigurationProperties withRoutesEnabled(boolean routesEnabled)
public HealthConfigurationProperties withRegistryEnabled(boolean registryEnabled)
public HealthConfigurationProperties addConfig(String id, HealthCheckConfigurationProperties config)
HealthConfigurationProperties for fine grained configuration of health checks.Apache Camel