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<>(0) The generator additionally adds hints to the metadata generated to indicate required properties and modules.

    Since:
    5.2.0
    • Constructor Detail

      • ConfigurationMetadataGenerator

        public ConfigurationMetadataGenerator()
    • 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