public interface PomFileSupplierFactory
Supplier instances to discover pom files from artifact.| Modifier and Type | Method and Description |
|---|---|
Supplier<File> |
compressedArtifactSupplier(File artifactFile,
BundleDescriptor artifactBundleDescriptor,
File temporaryFolder)
Pom file supplier that retrieves the pom file location from a compressed artifact.
|
Supplier<File> |
uncompressPomArtifactSupplier(File artifactFolder,
BundleDescriptor artifactBundleDescriptor)
Pom file supplier that retrieves the pom file location from an artifact folder.
|
Supplier<File> uncompressPomArtifactSupplier(File artifactFolder, BundleDescriptor artifactBundleDescriptor)
It is expected that the artifact folows the maven convention for the location of the pom file.
artifactFolder - the folder with the uncompressed maven artifact.artifactBundleDescriptor - the descriptor of the maven artifact.Supplier<File> compressedArtifactSupplier(File artifactFile, BundleDescriptor artifactBundleDescriptor, File temporaryFolder)
It will use a temporary folder to be able to create a File object to point to.
artifactFile - the compressed artifact file.artifactBundleDescriptor - the bundle descriptor.temporaryFolder - the temporary folder to use to create the pom file.Copyright © 2020 MuleSoft, Inc.. All rights reserved.