Class ConfigurationMetadataGenerator
java.lang.Object
org.apereo.cas.configuration.metadata.ConfigurationMetadataGenerator
This is
ConfigurationMetadataGenerator
.
This class is invoked by the build during the finalization of the compile phase.
Its job is to scan the generated configuration metadata and produce metadata
for settings that the build process is unable to parse. Specifically,
this includes fields that are of collection type (indexed) where the inner type is an
externalized class.
Example:
private var list = new ArrayList<>(0)
The generator additionally adds hints to the metadata generated to indicate
required properties and modules.
- Since:
- 5.2.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Main.protected static Set<ConfigurationMetadataHint>
processHints
(Collection<org.springframework.boot.configurationmetadata.ConfigurationMetadataProperty> props, Collection<org.springframework.boot.configurationmetadata.ConfigurationMetadataProperty> groups) protected void
processMappableProperties
(Set<org.springframework.boot.configurationmetadata.ConfigurationMetadataProperty> properties, Set<org.springframework.boot.configurationmetadata.ConfigurationMetadataProperty> groups) protected void
processNestedEnumProperties
(Set<org.springframework.boot.configurationmetadata.ConfigurationMetadataProperty> properties, Set<org.springframework.boot.configurationmetadata.ConfigurationMetadataProperty> groups)
-
Constructor Details
-
ConfigurationMetadataGenerator
public ConfigurationMetadataGenerator()
-
-
Method Details
-
main
Main.- Parameters:
args
- the args- Throws:
Exception
- the exception
-
processHints
protected static Set<ConfigurationMetadataHint> processHints(Collection<org.springframework.boot.configurationmetadata.ConfigurationMetadataProperty> props, Collection<org.springframework.boot.configurationmetadata.ConfigurationMetadataProperty> groups) -
processMappableProperties
-
processNestedEnumProperties
-