Package org.eclipse.aether.internal.impl
Class DefaultInstaller
java.lang.Object
org.eclipse.aether.internal.impl.DefaultInstaller
- All Implemented Interfaces:
Installer
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultInstaller(org.eclipse.aether.spi.io.PathProcessor pathProcessor, RepositoryEventDispatcher repositoryEventDispatcher, Map<String, org.eclipse.aether.spi.artifact.generator.ArtifactGeneratorFactory> artifactFactories, Map<String, MetadataGeneratorFactory> metadataFactories, Map<String, org.eclipse.aether.spi.artifact.transformer.ArtifactTransformer> artifactTransformers, org.eclipse.aether.spi.synccontext.SyncContextFactory syncContextFactory) -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.aether.installation.InstallResultinstall(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.installation.InstallRequest request) Installs a collection of artifacts and their accompanying metadata to the local repository.
-
Constructor Details
-
DefaultInstaller
@Inject public DefaultInstaller(org.eclipse.aether.spi.io.PathProcessor pathProcessor, RepositoryEventDispatcher repositoryEventDispatcher, Map<String, org.eclipse.aether.spi.artifact.generator.ArtifactGeneratorFactory> artifactFactories, Map<String, MetadataGeneratorFactory> metadataFactories, Map<String, org.eclipse.aether.spi.artifact.transformer.ArtifactTransformer> artifactTransformers, org.eclipse.aether.spi.synccontext.SyncContextFactory syncContextFactory)
-
-
Method Details
-
install
public org.eclipse.aether.installation.InstallResult install(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.installation.InstallRequest request) throws org.eclipse.aether.installation.InstallationException Description copied from interface:InstallerInstalls a collection of artifacts and their accompanying metadata to the local repository.- Specified by:
installin interfaceInstaller- Parameters:
session- The repository session, must not benull.request- The installation request, must not benull.- Returns:
- The installation result, never
null. - Throws:
org.eclipse.aether.installation.InstallationException- If any artifact/metadata from the request could not be installed.- See Also:
-