接口的使用
org.springframework.boot.context.config.ConfigData.PropertySourceOptions
程序包
说明
External configuration support allowing 'application.properties' to be loaded and used
within a Spring Boot application.
-
org.springframework.boot.context.config中ConfigData.PropertySourceOptions的使用
修饰符和类型字段说明static final ConfigData.PropertySourceOptions
ConfigData.PropertySourceOptions.ALWAYS_NONE
ConfigData.PropertySourceOptions
instance that always returnsConfigData.Options.NONE
.修饰符和类型方法说明ConfigData.PropertySourceOptions.always
(ConfigData.Option... options) Create a newConfigData.PropertySourceOptions
instance that always returns the same options regardless of the property source.ConfigData.PropertySourceOptions.always
(ConfigData.Options options) Create a newConfigData.PropertySourceOptions
instance that always returns the same options regardless of the property source.限定符构造器说明ConfigData
(Collection<? extends PropertySource<?>> propertySources, ConfigData.PropertySourceOptions propertySourceOptions) Create a newConfigData
instance with specific property source options.