Class CamelQuarkusGrpcCodegenProvider

java.lang.Object
org.apache.camel.quarkus.grpc.codegen.CamelQuarkusGrpcCodegenProvider
All Implemented Interfaces:
io.quarkus.deployment.CodeGenProvider

public class CamelQuarkusGrpcCodegenProvider extends Object implements io.quarkus.deployment.CodeGenProvider
Custom CodeGenProvider for Camel Quarkus gRPC. Based on the original Quarkus gRPC implementation:

https://github.com/quarkusio/quarkus/tree/main/extensions/grpc/codegen

The implementation does not include additional logic for features not supported in Camel gRPC, such as integration with Mutiny and CDI.

  • Constructor Details

    • CamelQuarkusGrpcCodegenProvider

      public CamelQuarkusGrpcCodegenProvider()
  • Method Details

    • providerId

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

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

      public String inputDirectory()
      Specified by:
      inputDirectory 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
    • shouldRun

      public boolean shouldRun(Path sourceDir, org.eclipse.microprofile.config.Config config)
      Specified by:
      shouldRun in interface io.quarkus.deployment.CodeGenProvider