Package io.quarkus.deployment.codegen
Class CodeGenData
- java.lang.Object
-
- io.quarkus.deployment.codegen.CodeGenData
-
public class CodeGenData extends Object
Links aCodeGenProviderinstance, an input and output directories for the provider.
-
-
Field Summary
Fields Modifier and Type Field Description PathbuildDirPathoutPathCodeGenProviderproviderbooleanredirectIOPathsourceDir
-
Constructor Summary
Constructors Constructor Description CodeGenData(CodeGenProvider provider, Path outPath, Path sourceDir, Path buildDir)CodeGenData(CodeGenProvider provider, Path outPath, Path sourceDir, Path buildDir, boolean redirectIO)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetRedirectIO(boolean redirectIO)
-
-
-
Field Detail
-
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 Detail
-
CodeGenData
public CodeGenData(CodeGenProvider provider, Path outPath, Path sourceDir, Path buildDir)
- Parameters:
provider- code gen provideroutPath- where the generated output should be storedsourceDir- where the input sources arebuildDir- base project output directory
-
CodeGenData
public CodeGenData(CodeGenProvider provider, Path outPath, Path sourceDir, Path buildDir, boolean redirectIO)
- Parameters:
provider- code gen provideroutPath- where the generated output should be storedsourceDir- where the input sources arebuildDir- base project output directoryredirectIO- whether to redirect IO, in case a provider is logging something
-
-