@SupportedAnnotationTypes(value="org.mule.runtime.extension.api.annotation.Extension") @SupportedSourceVersion(value=RELEASE_8) @SupportedOptions(value="extension.version") public abstract class BaseExtensionResourcesGeneratorAnnotationProcessor extends AbstractProcessor
Extension and use a
ResourcesGenerator to generated the required resources.
This annotation processor will automatically generate and package into the output jar the XSD schema, spring bundles and extension registration files necessary for mule to work with this extension.
Depending on the model properties declared by each extension, some of those resources might or might not be generated
| Modifier and Type | Field and Description |
|---|---|
static String |
EXTENSION_ELEMENT |
static String |
EXTENSION_VERSION |
static String |
PROCESSING_ENVIRONMENT |
static String |
ROUND_ENVIRONMENT |
processingEnv| Constructor and Description |
|---|
BaseExtensionResourcesGeneratorAnnotationProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract org.mule.runtime.extension.api.loader.ExtensionModelLoader |
getExtensionModelLoader() |
boolean |
process(Set<? extends TypeElement> annotations,
RoundEnvironment roundEnv) |
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, init, isInitializedpublic static final String PROCESSING_ENVIRONMENT
public static final String EXTENSION_ELEMENT
public static final String ROUND_ENVIRONMENT
public static final String EXTENSION_VERSION
public BaseExtensionResourcesGeneratorAnnotationProcessor()
public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
process in interface Processorprocess in class AbstractProcessorprotected abstract org.mule.runtime.extension.api.loader.ExtensionModelLoader getExtensionModelLoader()
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.