Class DefaultInstaller

java.lang.Object
org.eclipse.aether.internal.impl.DefaultInstaller
All Implemented Interfaces:
Installer

@Singleton @Named public class DefaultInstaller extends Object implements Installer
  • Constructor Summary

    Constructors
    Constructor
    Description
    DefaultInstaller(org.eclipse.aether.spi.io.FileProcessor fileProcessor, RepositoryEventDispatcher repositoryEventDispatcher, Map<String,MetadataGeneratorFactory> metadataFactories, org.eclipse.aether.spi.synccontext.SyncContextFactory syncContextFactory)
     
  • Method Summary

    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 Details

  • 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 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: