Class YamlPropertySourceGenerator

java.lang.Object
io.micronaut.aot.core.codegen.AbstractCodeGenerator
io.micronaut.aot.std.sourcegen.YamlPropertySourceGenerator
All Implemented Interfaces:
io.micronaut.aot.core.AOTCodeGenerator

public class YamlPropertySourceGenerator extends io.micronaut.aot.core.codegen.AbstractCodeGenerator
A source generator which will generate a static PropertySource from a given YAML configuration file, in order to substitute the dynamic loader with a static configuration.
  • Field Details

  • Constructor Details

    • YamlPropertySourceGenerator

      public YamlPropertySourceGenerator(Collection<String> resources)
  • Method Details

    • generate

      public void generate(@NonNull @NonNull io.micronaut.aot.core.AOTContext context)