Package org.mule.maven.client.api
Interface PomFileSupplierFactory
public interface PomFileSupplierFactory
- Since:
- 1.0
-
Method Summary
Modifier and TypeMethodDescriptioncompressedArtifactSupplier(File artifactFile, BundleDescriptor artifactBundleDescriptor, File temporaryFolder) Pom file supplier that retrieves the pom file location from a compressed artifact.uncompressPomArtifactSupplier(File artifactFolder, BundleDescriptor artifactBundleDescriptor) Pom file supplier that retrieves the pom file location from an artifact folder.
-
Method Details
-
uncompressPomArtifactSupplier
Supplier<File> uncompressPomArtifactSupplier(File artifactFolder, BundleDescriptor artifactBundleDescriptor) Pom file supplier that retrieves the pom file location from an artifact folder.It is expected that the artifact folows the maven convention for the location of the pom file.
- Parameters:
artifactFolder- the folder with the uncompressed maven artifact.artifactBundleDescriptor- the descriptor of the maven artifact.- Returns:
- a supplier that retrieves the pom file location from an artifact folder.
-
compressedArtifactSupplier
Supplier<File> compressedArtifactSupplier(File artifactFile, BundleDescriptor artifactBundleDescriptor, File temporaryFolder) Pom file supplier that retrieves the pom file location from a compressed artifact.It will use a temporary folder to be able to create a
Fileobject to point to.- Parameters:
artifactFile- the compressed artifact file.artifactBundleDescriptor- the bundle descriptor.temporaryFolder- the temporary folder to use to create the pom file.- Returns:
- a supplier that retrieves the pom file location from the compressed artifact.
-