@ConfigurationProperties(value="registration") public static class ConsulConfiguration.ConsulRegistrationConfiguration extends RegistrationConfiguration
Modifier and Type | Class and Description |
---|---|
static class |
ConsulConfiguration.ConsulRegistrationConfiguration.CheckConfiguration
Configuration for the HTTP check.
|
Modifier and Type | Field and Description |
---|---|
static String |
PREFIX
The prefix to use for all Consul client registration settings.
|
DEFAULT_DEREGISTER, DEFAULT_ENABLED, DEFAULT_FAILFAST, DEFAULT_RETRY_COUNT, DEFAULT_RETRYDELAY_SECONDS
Constructor and Description |
---|
ConsulRegistrationConfiguration() |
Modifier and Type | Method and Description |
---|---|
ConsulConfiguration.ConsulRegistrationConfiguration.CheckConfiguration |
getCheck() |
List<String> |
getTags() |
void |
setCheck(ConsulConfiguration.ConsulRegistrationConfiguration.CheckConfiguration check) |
void |
setTags(List<String> tags) |
String |
toString() |
getHealthPath, getIpAddr, getRetryCount, getRetryDelay, getTimeout, isDeregister, isEnabled, isFailFast, isPreferIpAddress, setDeregister, setEnabled, setFailFast, setHealthPath, setIpAddr, setPreferIpAddress, setRetryCount, setRetryDelay, setTimeout
public static final String PREFIX
public void setTags(List<String> tags)
tags
- The tags for registering the servicepublic ConsulConfiguration.ConsulRegistrationConfiguration.CheckConfiguration getCheck()
public void setCheck(ConsulConfiguration.ConsulRegistrationConfiguration.CheckConfiguration check)
check
- The Consul client settings for HTTP check