public class ArtifactPluginDescriptorLoader extends Object
ArtifactPluginDescriptor from a file resource.| Constructor and Description |
|---|
ArtifactPluginDescriptorLoader(ArtifactPluginDescriptorFactory artifactPluginDescriptorFactory) |
| Modifier and Type | Method and Description |
|---|---|
ArtifactPluginDescriptor |
load(File plugin)
Load a
ArtifactPluginDescriptor from a file with the resource of an artifact plugin. |
ArtifactPluginDescriptor |
load(File pluginFile,
BundleDescriptor pluginBundleDescriptor,
ArtifactDescriptor deployableArtifactDescriptor)
Load a
ArtifactPluginDescriptor from an artifact plugin File. |
public ArtifactPluginDescriptorLoader(ArtifactPluginDescriptorFactory artifactPluginDescriptorFactory)
public ArtifactPluginDescriptor load(File plugin) throws IOException
ArtifactPluginDescriptor from a file with the resource of an artifact plugin.plugin - the artifact plugin fileArtifactPluginDescriptorIOException - if there was a problem trying to read the artifact plugin zip file or using the unpackDestination
locationpublic ArtifactPluginDescriptor load(File pluginFile, BundleDescriptor pluginBundleDescriptor, ArtifactDescriptor deployableArtifactDescriptor) throws IOException
ArtifactPluginDescriptor from an artifact plugin File.pluginFile - the artifact plugin bundle file.pluginBundleDescriptor - the plugin bundle descriptor resolved from the deployable artifact descriptor.deployableArtifactDescriptor - container where the plugin has been declared as dependency.ArtifactPluginDescriptorIOException - if there was a problem trying to read the artifact plugin zip file or using the unpackDestination
locationCopyright © 2003–2024 MuleSoft, Inc.. All rights reserved.