Package org.eclipse.aether.internal.impl
Class DefaultInstaller
java.lang.Object
org.eclipse.aether.internal.impl.DefaultInstaller
- All Implemented Interfaces:
Installer
-
Constructor Summary
ConstructorDescriptionDefaultInstaller
(org.eclipse.aether.spi.io.PathProcessor pathProcessor, RepositoryEventDispatcher repositoryEventDispatcher, Map<String, org.eclipse.aether.spi.artifact.generator.ArtifactGeneratorFactory> artifactFactories, Map<String, MetadataGeneratorFactory> metadataFactories, org.eclipse.aether.spi.synccontext.SyncContextFactory syncContextFactory) -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.aether.installation.InstallResult
install
(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, 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:Installer
Installs a collection of artifacts and their accompanying metadata to the local repository.- Specified by:
install
in 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:
-