Interface Installer

  • All Known Implementing Classes:
    DefaultInstaller

    public interface Installer
    Publishes artifacts to the local repository.
    Restriction:
    This interface is not intended to be extended by clients.
    Restriction:
    This interface is not intended to be implemented by clients.
    Provisional:
    This type is provisional and can be changed, moved or removed without prior notice.
    • Method Summary

      All Methods Instance Methods Abstract 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.
    • Method Detail

      • install

        org.eclipse.aether.installation.InstallResult install​(org.eclipse.aether.RepositorySystemSession session,
                                                              org.eclipse.aether.installation.InstallRequest request)
                                                       throws org.eclipse.aether.installation.InstallationException
        Installs a collection of artifacts and their accompanying metadata to the local repository.
        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)