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 -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAsyncApiGeneratorCodeGenBase(AsyncAPIExtension extension) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract Collection<AsyncApiCodeGenerator>buildCodeGenerators(io.quarkus.deployment.CodeGenContext context) booleantrigger(io.quarkus.deployment.CodeGenContext context) protected abstract voidtrigger(io.quarkus.deployment.CodeGenContext context, AsyncApiCodeGenerator generator) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.quarkus.deployment.CodeGenProvider
getInputDirectory, init, inputExtensions, shouldRun
-
Field Details
-
extension
-
-
Constructor Details
-
AsyncApiGeneratorCodeGenBase
-
-
Method Details
-
providerId
- Specified by:
providerIdin interfaceio.quarkus.deployment.CodeGenProvider
-
inputDirectory
- Specified by:
inputDirectoryin interfaceio.quarkus.deployment.CodeGenProvider
-
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
-