Package | Description |
---|---|
org.springframework.boot.context.config |
External configuration support allowing 'application.properties' to be loaded and used
within a Spring Boot application.
|
Modifier and Type | Method and Description |
---|---|
static ConfigData.Option |
ConfigData.Option.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConfigData.Option[] |
ConfigData.Option.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Set<ConfigData.Option> |
ConfigData.getOptions()
Deprecated.
since 2.4.5 in favor of
ConfigData.getOptions(PropertySource) |
Modifier and Type | Method and Description |
---|---|
static ConfigData.PropertySourceOptions |
ConfigData.PropertySourceOptions.always(ConfigData.Option... options)
Create a new
ConfigData.PropertySourceOptions instance that always returns the
same options regardless of the property source. |
boolean |
ConfigData.Options.contains(ConfigData.Option option)
Returns if the given option is contained in this set.
|
static ConfigData.Options |
ConfigData.Options.of(ConfigData.Option... options)
Create a new instance with the given
ConfigData.Option values. |
Constructor and Description |
---|
ConfigData(Collection<? extends PropertySource<?>> propertySources,
ConfigData.Option... options)
Create a new
ConfigData instance with the same options applied to each
source. |