@ConfigurationProperties(value="endpoints.health.discovery-client") @Requires(property="endpoints.health.discovery-client.enabled", notEquals="false") public class DiscoveryClientHealthIndicatorConfiguration extends Object implements Toggleable
| Constructor and Description |
|---|
DiscoveryClientHealthIndicatorConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEnabled()
Health indicator is enabled.
|
void |
setEnabled(boolean enabled)
If health indicator should be enabled.
|
public DiscoveryClientHealthIndicatorConfiguration()
public boolean isEnabled()
isEnabled in interface Toggleabletrue If health indicator should be enabled. Default is true.public void setEnabled(boolean enabled)
enabled - True If health indicator should be enabled. Default is true.