Class DefaultInstaller

    • Constructor Summary

      Constructors 
      Constructor Description
      DefaultInstaller​(org.eclipse.aether.spi.io.PathProcessor pathProcessor, RepositoryEventDispatcher repositoryEventDispatcher, java.util.Map<java.lang.String,​org.eclipse.aether.spi.artifact.generator.ArtifactGeneratorFactory> artifactFactories, java.util.Map<java.lang.String,​MetadataGeneratorFactory> metadataFactories, java.util.Map<java.lang.String,​org.eclipse.aether.spi.artifact.transformer.ArtifactTransformer> artifactTransformers, org.eclipse.aether.spi.synccontext.SyncContextFactory syncContextFactory)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultInstaller

        @Inject
        public DefaultInstaller​(org.eclipse.aether.spi.io.PathProcessor pathProcessor,
                                RepositoryEventDispatcher repositoryEventDispatcher,
                                java.util.Map<java.lang.String,​org.eclipse.aether.spi.artifact.generator.ArtifactGeneratorFactory> artifactFactories,
                                java.util.Map<java.lang.String,​MetadataGeneratorFactory> metadataFactories,
                                java.util.Map<java.lang.String,​org.eclipse.aether.spi.artifact.transformer.ArtifactTransformer> artifactTransformers,
                                org.eclipse.aether.spi.synccontext.SyncContextFactory syncContextFactory)
    • Method Detail

      • 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 interface Installer
        Parameters:
        session - The repository session, must not be null.
        request - The installation request, must not be null.
        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:
        RepositorySystem.install(RepositorySystemSession, InstallRequest), MetadataGeneratorFactory.newInstance(RepositorySystemSession, InstallRequest)