Class ConsulConfigDataResource
- java.lang.Object
-
- org.springframework.boot.context.config.ConfigDataResource
-
- org.springframework.cloud.consul.config.ConsulConfigDataResource
-
public class ConsulConfigDataResource extends org.springframework.boot.context.config.ConfigDataResource
-
-
Constructor Summary
Constructors Constructor Description ConsulConfigDataResource(String context, boolean optional, ConsulConfigProperties properties, ConsulPropertySources consulPropertySources)Deprecated.ConsulConfigDataResource(String context, ConsulConfigProperties properties, ConsulPropertySources consulPropertySources)Deprecated.ConsulConfigDataResource(String context, ConsulConfigProperties properties, ConsulPropertySources consulPropertySources, String profile)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object o)ConsulPropertySourcesgetConsulPropertySources()StringgetContext()ConsulConfigPropertiesgetProperties()inthashCode()booleanisOptional()Deprecated.StringtoString()
-
-
-
Constructor Detail
-
ConsulConfigDataResource
public ConsulConfigDataResource(String context, ConsulConfigProperties properties, ConsulPropertySources consulPropertySources, String profile)
-
ConsulConfigDataResource
@Deprecated public ConsulConfigDataResource(String context, ConsulConfigProperties properties, ConsulPropertySources consulPropertySources)
Deprecated.
-
ConsulConfigDataResource
@Deprecated public ConsulConfigDataResource(String context, boolean optional, ConsulConfigProperties properties, ConsulPropertySources consulPropertySources)
Deprecated.
-
-
Method Detail
-
getContext
public String getContext()
-
isOptional
@Deprecated public boolean isOptional()
Deprecated.
-
getProperties
public ConsulConfigProperties getProperties()
-
getConsulPropertySources
public ConsulPropertySources getConsulPropertySources()
-
-