Class KubernetesApisProcessor
java.lang.Object
javax.annotation.processing.AbstractProcessor
io.micronaut.kubernetes.client.processor.KubernetesApisProcessor
- All Implemented Interfaces:
Processor
@SupportedAnnotationTypes("io.micronaut.kubernetes.client.Apis")
@SupportedSourceVersion(RELEASE_8)
public class KubernetesApisProcessor
extends AbstractProcessor
An annotation processor that generates the Kubernetes APIs factories. Based on
io.micronaut.kubernetes.client.Apis
annotation field kind
either Async
, RxJava2
or Reactor
client factories are generated.- Since:
- 2.2
- Author:
- Pavol Gressa
-
Field Summary
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
init
(ProcessingEnvironment processingEnv) boolean
process
(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, isInitialized
-
Field Details
-
KUBERNETES_APIS_PACKAGE
- See Also:
-
MICRONAUT_APIS_PACKAGE
- See Also:
-
-
Constructor Details
-
KubernetesApisProcessor
public KubernetesApisProcessor()
-
-
Method Details
-
init
- Specified by:
init
in interfaceProcessor
- Overrides:
init
in classAbstractProcessor
-
process
- Specified by:
process
in interfaceProcessor
- Specified by:
process
in classAbstractProcessor
-