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.tooling.client.api.descriptors.ArtifactDescriptor pluginDescriptor)
Loads the
ExtensionModel for the given plugin. |
Optional<LoadedExtensionInformation> |
loadExtensionData(File file)
Loads the
ExtensionModel for the given plugin. |
List<org.mule.runtime.api.meta.model.ExtensionModel> |
loadMuleExtensionModels()
Loads the
ExtensionModel for Mule Runtime core components. |
public DefaultExtensionModelService(org.mule.maven.client.api.MavenClient mavenClient,
MuleArtifactResourcesRegistry muleArtifactResourcesRegistry)
public List<org.mule.runtime.api.meta.model.ExtensionModel> loadMuleExtensionModels()
ExtensionModel for Mule Runtime core components.loadMuleExtensionModels in interface InternalExtensionModelServiceExtensionModel for Mule Runtime core components.public Optional<LoadedExtensionInformation> loadExtensionData(org.mule.tooling.client.api.descriptors.ArtifactDescriptor pluginDescriptor)
InternalExtensionModelServiceExtensionModel for the given plugin.loadExtensionData in interface InternalExtensionModelServicepluginDescriptor - ArtifactDescriptor referencing to the plugin artifact.ExtensionModel for the plugin along with its class loader or Optional.empty() if the plugin doesn't
have an ExtensionModel.public Optional<LoadedExtensionInformation> loadExtensionData(File file)
InternalExtensionModelServiceExtensionModel for the given plugin.loadExtensionData in interface InternalExtensionModelServicefile - ArtifactDescriptor referencing to the plugin artifact file.ExtensionModel for the plugin along with its class loader or Optional.empty() if the plugin doesn't
have an ExtensionModel.Copyright © 2017 MuleSoft, Inc.. All rights reserved.