public class ExtensionPluginMetadataGenerator extends Object
Extension manifest and DSL resources.| Constructor and Description |
|---|
ExtensionPluginMetadataGenerator(File baseResourcesFolder)
Creates an instance that will generated metadata for extensions on the baseResourcesFolder
|
| Modifier and Type | Method and Description |
|---|---|
void |
generateDslResources()
Generates DSL resources for the plugins where extension manifest were generated.
|
File |
generateExtensionManifest(org.eclipse.aether.artifact.Artifact plugin,
Class extensionClass)
Generates the extension manifest for the
Artifact plugin with the Extension. |
org.mule.runtime.api.meta.model.ExtensionModel |
getExtensionModel(org.eclipse.aether.artifact.Artifact plugin,
Class extensionClass)
Discovers the extension and builds the
ExtensionModel. |
Class |
scanForExtensionAnnotatedClasses(org.eclipse.aether.artifact.Artifact plugin,
List<URL> urls)
|
public Class scanForExtensionAnnotatedClasses(org.eclipse.aether.artifact.Artifact plugin, List<URL> urls)
public org.mule.runtime.api.meta.model.ExtensionModel getExtensionModel(org.eclipse.aether.artifact.Artifact plugin,
Class extensionClass)
ExtensionModel.plugin - the extension Artifact pluginextensionClass - the Class annotated with ExtensionExtensionModel for the extensionClasspublic File generateExtensionManifest(org.eclipse.aether.artifact.Artifact plugin, Class extensionClass)
Artifact plugin with the Extension.public void generateDslResources()
spring.schemas spring.handlers extension.xsdThese files are going to be generated for each extension registered here.
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.