Class ConfigurationMetadataSource
java.lang.Object
org.springframework.boot.configurationmetadata.ConfigurationMetadataSource
- All Implemented Interfaces:
Serializable
A source of configuration metadata. Also defines where the source is declared, for
instance if it is defined as a
@Bean
.- Since:
- 1.3.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionA description of this source, if any.The identifier of the group to which this source is associated.Return the properties defined by this source.A single-line, single-sentence description of this source, if any.The method name that defines this source, if any.The type where this source is defined.getType()
The type of the source.void
setShortDescription
(String shortDescription)
-
Constructor Details
-
ConfigurationMetadataSource
public ConfigurationMetadataSource()
-
-
Method Details
-
getGroupId
The identifier of the group to which this source is associated.- Returns:
- the group id
-
getType
The type of the source. Usually this is the fully qualified name of a class that defines configuration items. This class may or may not be available at runtime.- Returns:
- the type
-
getDescription
A description of this source, if any. Can be multi-lines.- Returns:
- the description
- See Also:
-
getShortDescription
A single-line, single-sentence description of this source, if any.- Returns:
- the short description
- See Also:
-
setShortDescription
-
getSourceType
The type where this source is defined. This can be identical to thetype
if the source is self-defined.- Returns:
- the source type
-
getSourceMethod
The method name that defines this source, if any.- Returns:
- the source method
-
getProperties
Return the properties defined by this source.- Returns:
- the properties
-