Class AsyncApiGeneratorCodeGenBase
- java.lang.Object
-
- io.quarkiverse.asyncapi.generator.input.AsyncApiGeneratorCodeGenBase
-
- All Implemented Interfaces:
io.quarkus.deployment.CodeGenProvider
- Direct Known Subclasses:
AsyncApiGeneratorStreamCodeGen,AsyncApiPathGeneratorCodeGen
public abstract class AsyncApiGeneratorCodeGenBase extends Object implements io.quarkus.deployment.CodeGenProvider
-
-
Field Summary
Fields Modifier and Type Field Description protected AsyncAPIExtensionextension
-
Constructor Summary
Constructors Modifier Constructor Description protectedAsyncApiGeneratorCodeGenBase(AsyncAPIExtension extension)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract Collection<AsyncApiCodeGenerator>buildCodeGenerators(io.quarkus.deployment.CodeGenContext context)StringinputDirectory()StringinputExtension()StringproviderId()booleantrigger(io.quarkus.deployment.CodeGenContext context)protected abstract voidtrigger(io.quarkus.deployment.CodeGenContext context, AsyncApiCodeGenerator generator)
-
-
-
Field Detail
-
extension
protected final AsyncAPIExtension extension
-
-
Constructor Detail
-
AsyncApiGeneratorCodeGenBase
protected AsyncApiGeneratorCodeGenBase(AsyncAPIExtension extension)
-
-
Method Detail
-
providerId
public String providerId()
- Specified by:
providerIdin interfaceio.quarkus.deployment.CodeGenProvider
-
inputDirectory
public String inputDirectory()
- Specified by:
inputDirectoryin interfaceio.quarkus.deployment.CodeGenProvider
-
inputExtension
public String inputExtension()
- Specified by:
inputExtensionin interfaceio.quarkus.deployment.CodeGenProvider
-
trigger
public boolean trigger(io.quarkus.deployment.CodeGenContext context) throws io.quarkus.bootstrap.prebuild.CodeGenException- Specified by:
triggerin interfaceio.quarkus.deployment.CodeGenProvider- Throws:
io.quarkus.bootstrap.prebuild.CodeGenException
-
buildCodeGenerators
protected abstract Collection<AsyncApiCodeGenerator> buildCodeGenerators(io.quarkus.deployment.CodeGenContext context)
-
trigger
protected abstract void trigger(io.quarkus.deployment.CodeGenContext context, AsyncApiCodeGenerator generator) throws IOException- Throws:
IOException
-
-