public class BoundConfigurationProperties extends Object
@ConfigurationProperties.| Constructor and Description |
|---|
BoundConfigurationProperties() |
| Modifier and Type | Method and Description |
|---|---|
static BoundConfigurationProperties |
get(ApplicationContext context)
Return the
BoundConfigurationProperties from the given
ApplicationContext if it is available. |
ConfigurationProperty |
get(ConfigurationPropertyName name)
Get the configuration property bound to the given name.
|
Map<ConfigurationPropertyName,ConfigurationProperty> |
getAll()
Get all bound properties.
|
public ConfigurationProperty get(ConfigurationPropertyName name)
name - the property namenullpublic Map<ConfigurationPropertyName,ConfigurationProperty> getAll()
public static BoundConfigurationProperties get(ApplicationContext context)
BoundConfigurationProperties from the given
ApplicationContext if it is available.context - the context to searchBoundConfigurationProperties or null