public class DefaultExtensionModelService extends Object implements InternalExtensionModelService
ExtensionModelService.| Constructor and Description |
|---|
DefaultExtensionModelService(org.mule.maven.client.api.MavenClient mavenClient,
MuleArtifactResourcesRegistry muleArtifactResourcesRegistry) |
| Modifier and Type | Method and Description |
|---|---|
Optional<LoadedExtensionInformation> |
loadExtensionData(org.mule.runtime.module.artifact.api.descriptor.BundleDescriptor pluginDescriptor)
Loads the
ExtensionModel for the given plugin. |
List<org.mule.runtime.api.meta.model.ExtensionModel> |
loadRuntimeExtensionModels()
Loads the
ExtensionModel for Mule Runtime core components. |
org.mule.runtime.deployment.model.api.plugin.ArtifactPluginDescriptor |
readBundleDescriptor(File pluginFile)
Loads the
ArtifactPluginDescriptor for the given plugin. |
public DefaultExtensionModelService(org.mule.maven.client.api.MavenClient mavenClient,
MuleArtifactResourcesRegistry muleArtifactResourcesRegistry)
public List<org.mule.runtime.api.meta.model.ExtensionModel> loadRuntimeExtensionModels()
ExtensionModel for Mule Runtime core components.loadRuntimeExtensionModels in interface InternalExtensionModelServiceExtensionModel for Mule Runtime core components.public Optional<LoadedExtensionInformation> loadExtensionData(org.mule.runtime.module.artifact.api.descriptor.BundleDescriptor pluginDescriptor)
InternalExtensionModelServiceExtensionModel for the given plugin.loadExtensionData in interface InternalExtensionModelServicepluginDescriptor - BundleDescriptor referencing to the plugin artifact.ExtensionModel for the plugin or Optional.empty() if the plugin doesn't have an ExtensionModel.public org.mule.runtime.deployment.model.api.plugin.ArtifactPluginDescriptor readBundleDescriptor(File pluginFile)
InternalExtensionModelServiceArtifactPluginDescriptor for the given plugin.readBundleDescriptor in interface InternalExtensionModelServicepluginFile - File referencing to the plugin artifact file (packaged or exploded).ArtifactPluginDescriptor for the plugin along with its class loader.Copyright © 2017 MuleSoft, Inc.. All rights reserved.