Class ConfigurationMetadata
java.lang.Object
org.springframework.boot.configurationprocessor.metadata.ConfigurationMetadata
Configuration meta-data.
- Since:
- 1.2.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd item hint.voidadd(ItemMetadata itemMetadata) Add item meta-data.voidaddIfMissing(ItemMetadata itemMetadata) Add item meta-data if it's not already present.getHints()Return hint meta-data.getItems()Return item meta-data.voidmerge(ConfigurationMetadata metadata) Merge the content from anotherConfigurationMetadata.protected voidmergeItemMetadata(ItemMetadata metadata) static StringnestedPrefix(String prefix, String name) toString()
-
Constructor Details
-
ConfigurationMetadata
public ConfigurationMetadata() -
ConfigurationMetadata
-
-
Method Details
-
add
Add item meta-data.- Parameters:
itemMetadata- the meta-data to add
-
addIfMissing
Add item meta-data if it's not already present.- Parameters:
itemMetadata- the meta-data to add- Since:
- 2.4.0
-
add
Add item hint.- Parameters:
itemHint- the item hint to add
-
merge
Merge the content from anotherConfigurationMetadata.- Parameters:
metadata- theConfigurationMetadatainstance to merge
-
getItems
Return item meta-data.- Returns:
- the items
-
getHints
Return hint meta-data.- Returns:
- the hints
-
mergeItemMetadata
-
nestedPrefix
-
toString
-