Class CodeGenData

java.lang.Object
io.quarkus.deployment.codegen.CodeGenData

public class CodeGenData extends Object
Links a CodeGenProvider instance, an input and output directories for the provider.
  • Field Details

    • provider

      public final CodeGenProvider provider
    • outPath

      public final Path outPath
    • sourceDir

      public final Path sourceDir
    • buildDir

      public final Path buildDir
    • redirectIO

      public boolean redirectIO
  • Constructor Details

    • CodeGenData

      public CodeGenData(CodeGenProvider provider, Path outPath, Path sourceDir, Path buildDir)
      Parameters:
      provider - code gen provider
      outPath - where the generated output should be stored
      sourceDir - where the input sources are
      buildDir - base project output directory
    • CodeGenData

      public CodeGenData(CodeGenProvider provider, Path outPath, Path sourceDir, Path buildDir, boolean redirectIO)
      Parameters:
      provider - code gen provider
      outPath - where the generated output should be stored
      sourceDir - where the input sources are
      buildDir - base project output directory
      redirectIO - whether to redirect IO, in case a provider is logging something
  • Method Details

    • setRedirectIO

      public void setRedirectIO(boolean redirectIO)