类 ConfigurationMetadataGroup
- java.lang.Object
- org.springframework.boot.configurationmetadata.ConfigurationMetadataGroup
- 所有已实现的接口:
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.- 从以下版本开始:
- 1.3.0
- 另请参阅:
- 序列化表格
构造器概要
构造器 构造器 说明 ConfigurationMetadataGroup(String id)
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 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.
构造器详细资料
ConfigurationMetadataGroup
public ConfigurationMetadataGroup(String id)
方法详细资料
getId
public String getId()
Return the id of the group, used as a common prefix for all properties associated to it.- 返回:
- the id of the group
getSources
public Map<String,ConfigurationMetadataSource> getSources()
Return thesources
defining the properties of this group.- 返回:
- 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.
- 返回:
- the properties of the group
- 另请参阅:
ConfigurationMetadataSource.getProperties()