Class ConfigurationMetadataGroup
- java.lang.Object
- org.springframework.boot.configurationmetadata.ConfigurationMetadataGroup
- All Implemented Interfaces:
Serializable
public class ConfigurationMetadataGroup extends Object implements Serializable
Gather a collection ofproperties
that are sharing acommon prefix
. Provide access to all thesources
that have contributed properties to the group.- Since:
- 1.3.0
- See Also:
- Serialized Form
Constructor Summary
Constructors Constructor Description ConfigurationMetadataGroup(String id)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getId()
Return the id of the group, used as a common prefix for all properties associated to it.Map<String,ConfigurationMetadataProperty>
getProperties()
Return theproperties
defined in this group.Map<String,ConfigurationMetadataSource>
getSources()
Return thesources
defining the properties of this group.
Constructor Detail
ConfigurationMetadataGroup
public ConfigurationMetadataGroup(String id)
Method Detail
getId
public String getId()
Return the id of the group, used as a common prefix for all properties associated to it.- Returns:
- the id of the group
getSources
public Map<String,ConfigurationMetadataSource> getSources()
Return thesources
defining the properties of this group.- Returns:
- the sources of the group
getProperties
public Map<String,ConfigurationMetadataProperty> getProperties()
Return theproperties
defined in this group.A property may appear more than once for a given source, potentially with conflicting type or documentation. This is a "merged" view of the properties of this group.
- Returns:
- the properties of the group
- See Also:
ConfigurationMetadataSource.getProperties()