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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleantrigger(io.quarkus.deployment.CodeGenContext context) 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
-
Constructor Details
-
CamelQuarkusGrpcCodegenProvider
public CamelQuarkusGrpcCodegenProvider()
-
-
Method Details
-
providerId
- Specified by:
providerIdin interfaceio.quarkus.deployment.CodeGenProvider
-
inputExtension
- Specified by:
inputExtensionin interfaceio.quarkus.deployment.CodeGenProvider
-
inputDirectory
- Specified by:
inputDirectoryin 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
-
shouldRun
- Specified by:
shouldRunin interfaceio.quarkus.deployment.CodeGenProvider
-