类的使用
cn.taketoday.context.properties.source.ConfigurationProperty
使用ConfigurationProperty的程序包
程序包
说明
Support for external configuration properties.
Support for
@ConfigurationProperties binding.Binding validation support.
Sources for external configuration properties.
-
cn.taketoday.context.properties中ConfigurationProperty的使用
修饰符和类型方法说明BoundConfigurationProperties.get(ConfigurationPropertyName name) Get the configuration property bound to the given name.返回变量类型为ConfigurationProperty的类型的cn.taketoday.context.properties中的方法 -
cn.taketoday.context.properties.bind中ConfigurationProperty的使用
修饰符和类型方法说明BindContext.getConfigurationProperty()Return theConfigurationPropertyactually being bound ornullif the property has not yet been determined.BindException.getProperty()Return the configuration property name of the item that was being bound.返回变量类型为ConfigurationProperty的类型的cn.taketoday.context.properties.bind中的方法类型变量类型为ConfigurationProperty的cn.taketoday.context.properties.bind中的构造器参数 -
cn.taketoday.context.properties.bind.validation中ConfigurationProperty的使用
修饰符和类型方法说明ValidationErrors.getBoundProperties()Return the properties that were bound before validation failed. -
cn.taketoday.context.properties.source中ConfigurationProperty的使用
修饰符和类型方法说明ConfigurationPropertySource.getConfigurationProperty(ConfigurationPropertyName name) Return a singleConfigurationPropertyfrom the source ornullif no property can be found.MapConfigurationPropertySource.getConfigurationProperty(ConfigurationPropertyName name)