Class ConfigurationMetadataGenerator

java.lang.Object
org.apereo.cas.configuration.metadata.ConfigurationMetadataGenerator

public class ConfigurationMetadataGenerator extends Object
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 Details

    • ConfigurationMetadataGenerator

      public ConfigurationMetadataGenerator(String buildDir, String sourcePath)
  • Method Details

    • main

      public static void main(String[] args) throws Exception
      Main.
      Parameters:
      args - the args
      Throws:
      Exception - the exception