Class ConfigurationMetadataGenerator


  • public class ConfigurationMetadataGenerator
    extends java.lang.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 List<SomeClassProperties> list = new ArrayList<>() The generator additionally adds hints to the metadata generated to indicate required properties and modules.

    Since:
    5.2.0
    • Constructor Summary

      Constructors 
      Constructor Description
      ConfigurationMetadataGenerator​(java.lang.String buildDir, java.lang.String sourcePath)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute()
      Execute.
      static void main​(java.lang.String[] args)
      Main.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ConfigurationMetadataGenerator

        public ConfigurationMetadataGenerator​(java.lang.String buildDir,
                                              java.lang.String sourcePath)
    • Method Detail

      • main

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

        public void execute()
                     throws java.lang.Exception
        Execute.
        Throws:
        java.lang.Exception - the exception