Interface CodeGenProvider


  • public interface CodeGenProvider
    Service providers for this interface are triggered during generate-sources phase of build of Quarkus applications
    • Method Detail

      • providerId

        @NotNull
        String providerId()
        Returns:
        unique name of the code gen provider, will correspond to the directory in generated-sources
      • inputExtension

        @NotNull
        String inputExtension()
        File extension that CodeGenProvider will generate code from
        Returns:
        file extension
      • inputDirectory

        @NotNull
        String inputDirectory()
        Name of the directory containing the input files for the CodeGenProvider for foo, src/main/foo for application and src/test/foo for test resources
        Returns:
        the input directory
      • shouldRun

        default boolean shouldRun​(Path sourceDir,
                                  org.eclipse.microprofile.config.Config config)