Class ConsulEnvironmentWatch
java.lang.Object
org.springframework.cloud.config.server.environment.ConsulEnvironmentWatch
- All Implemented Interfaces:
EnvironmentWatch
@ConfigurationProperties("spring.cloud.config.server.consul.watch")
public class ConsulEnvironmentWatch
extends Object
implements EnvironmentWatch
- Author:
- Spencer Gibb
-
Nested Class Summary
Nested classes/interfaces inherited from interface EnvironmentWatch
EnvironmentWatch.Default -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidsetPort(int port) voidsetRestTemplate(org.springframework.web.client.RestTemplate restTemplate) voidvoidvoid
-
Field Details
-
CONSUL_INDEX
-
CONSUL_TOKEN
-
RESPONSE_TYPE
-
-
Constructor Details
-
ConsulEnvironmentWatch
public ConsulEnvironmentWatch()
-
-
Method Details
-
watch
- Specified by:
watchin interfaceEnvironmentWatch
-
setRestTemplate
public void setRestTemplate(org.springframework.web.client.RestTemplate restTemplate) -
setScheme
-
setHost
-
setPort
public void setPort(int port) -
setPath
-
setWait
-
setToken
-