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 Details

  • Constructor Details

    • AsyncApiGeneratorCodeGenBase

      protected AsyncApiGeneratorCodeGenBase(AsyncAPIExtension extension)
  • Method Details

    • providerId

      public String providerId()
      Specified by:
      providerId in interface io.quarkus.deployment.CodeGenProvider
    • inputDirectory

      public String inputDirectory()
      Specified by:
      inputDirectory in interface io.quarkus.deployment.CodeGenProvider
    • inputExtension

      public String inputExtension()
      Specified by:
      inputExtension in interface io.quarkus.deployment.CodeGenProvider
    • trigger

      public boolean trigger(io.quarkus.deployment.CodeGenContext context) throws io.quarkus.bootstrap.prebuild.CodeGenException
      Specified by:
      trigger in interface io.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