Uses of Enum Class
org.springframework.cloud.consul.config.ConsulConfigProperties.Format
-
Uses of ConsulConfigProperties.Format in org.springframework.cloud.consul.config
Subclasses with type arguments of type ConsulConfigProperties.Format in org.springframework.cloud.consul.configModifier and TypeClassDescriptionstatic enumThere are many ways in which we can specify configuration in consul i.e., Nested key value style: Where value is either a constant or part of the key (nested).Methods in org.springframework.cloud.consul.config that return ConsulConfigProperties.FormatModifier and TypeMethodDescription@NotNull ConsulConfigProperties.FormatConsulConfigProperties.getFormat()Returns the enum constant of this class with the specified name.static ConsulConfigProperties.Format[]ConsulConfigProperties.Format.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.springframework.cloud.consul.config with parameters of type ConsulConfigProperties.FormatModifier and TypeMethodDescriptionprotected PropertiesConsulPropertySource.generateProperties(String value, ConsulConfigProperties.Format format) protected voidConsulPropertySource.parsePropertiesWithNonKeyValueFormat(List<org.springframework.cloud.consul.model.http.kv.GetValue> values, ConsulConfigProperties.Format format) Parses the properties using the format which is not a key value style i.e., either java properties style or YAML style.protected voidConsulPropertySource.parseValue(org.springframework.cloud.consul.model.http.kv.GetValue getValue, ConsulConfigProperties.Format format) voidConsulConfigProperties.setFormat(@NotNull ConsulConfigProperties.Format format)