类的使用
org.springframework.boot.context.properties.source.ConfigurationProperty
使用ConfigurationProperty的程序包
程序包
说明
External configuration support allowing 'application.properties' to be loaded and used
within a Spring Boot application.
Support for external configuration properties.
Support for
@ConfigurationProperties
binding.Binding validation support.
Sources for external configuration properties.
-
org.springframework.boot.context.config中ConfigurationProperty的使用
修饰符和类型方法说明InvalidConfigDataPropertyException.getProperty()
Return source property that caused the exception. -
org.springframework.boot.context.properties中ConfigurationProperty的使用
修饰符和类型方法说明BoundConfigurationProperties.get
(ConfigurationPropertyName name) Get the configuration property bound to the given name. -
org.springframework.boot.context.properties.bind中ConfigurationProperty的使用
修饰符和类型方法说明BindContext.getConfigurationProperty()
Return theConfigurationProperty
actually being bound ornull
if the property has not yet been determined.BindException.getProperty()
Return the configuration property name of the item that was being bound. -
org.springframework.boot.context.properties.bind.validation中ConfigurationProperty的使用
修饰符和类型方法说明ValidationErrors.getBoundProperties()
Return the properties that were bound before validation failed. -
org.springframework.boot.context.properties.source中ConfigurationProperty的使用
修饰符和类型方法说明ConfigurationPropertySource.getConfigurationProperty
(ConfigurationPropertyName name) Return a singleConfigurationProperty
from the source ornull
if no property can be found.MapConfigurationPropertySource.getConfigurationProperty
(ConfigurationPropertyName name)