Package | Description |
---|---|
org.springframework.boot.context.properties |
Support for external configuration properties.
|
org.springframework.boot.context.properties.bind |
Support for
@ConfigurationProperties binding. |
org.springframework.boot.context.properties.bind.validation |
Binding validation support.
|
org.springframework.boot.context.properties.source |
Sources for external configuration properties.
|
Modifier and Type | Method and Description |
---|---|
ConfigurationProperty |
BoundConfigurationProperties.get(ConfigurationPropertyName name)
Get the configuration property bound to the given name.
|
Modifier and Type | Method and Description |
---|---|
Map<ConfigurationPropertyName,ConfigurationProperty> |
BoundConfigurationProperties.getAll()
Get all bound properties.
|
Modifier and Type | Method and Description |
---|---|
ConfigurationProperty |
BindContext.getConfigurationProperty()
Return the
ConfigurationProperty actually being bound or null if
the property has not yet been determined. |
ConfigurationProperty |
BindException.getProperty()
Return the configuration property name of the item that was being bound.
|
Modifier and Type | Method and Description |
---|---|
Set<ConfigurationProperty> |
UnboundConfigurationPropertiesException.getUnboundProperties() |
Constructor and Description |
---|
BoundPropertiesTrackingBindHandler(Consumer<ConfigurationProperty> consumer) |
UnboundConfigurationPropertiesException(Set<ConfigurationProperty> unboundProperties) |
Modifier and Type | Method and Description |
---|---|
Set<ConfigurationProperty> |
ValidationErrors.getBoundProperties()
Return the properties that were bound before validation failed.
|
Modifier and Type | Method and Description |
---|---|
ConfigurationProperty |
MapConfigurationPropertySource.getConfigurationProperty(ConfigurationPropertyName name) |
ConfigurationProperty |
ConfigurationPropertySource.getConfigurationProperty(ConfigurationPropertyName name)
Return a single
ConfigurationProperty from the source or null if no
property can be found. |
Modifier and Type | Method and Description |
---|---|
int |
ConfigurationProperty.compareTo(ConfigurationProperty other) |