| Constructor and Description |
|---|
DefaultInstaller() |
| Modifier and Type | Method and Description |
|---|---|
DefaultInstaller |
addMetadataGeneratorFactory(MetadataGeneratorFactory factory) |
void |
initService(org.eclipse.aether.spi.locator.ServiceLocator locator) |
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.
|
DefaultInstaller |
setFileProcessor(org.eclipse.aether.spi.io.FileProcessor fileProcessor) |
DefaultInstaller |
setLoggerFactory(org.eclipse.aether.spi.log.LoggerFactory loggerFactory) |
DefaultInstaller |
setMetadataGeneratorFactories(Collection<MetadataGeneratorFactory> metadataFactories) |
DefaultInstaller |
setRepositoryEventDispatcher(RepositoryEventDispatcher repositoryEventDispatcher) |
DefaultInstaller |
setSyncContextFactory(SyncContextFactory syncContextFactory) |
public void initService(org.eclipse.aether.spi.locator.ServiceLocator locator)
initService in interface org.eclipse.aether.spi.locator.Servicepublic DefaultInstaller setLoggerFactory(org.eclipse.aether.spi.log.LoggerFactory loggerFactory)
public DefaultInstaller setFileProcessor(org.eclipse.aether.spi.io.FileProcessor fileProcessor)
public DefaultInstaller setRepositoryEventDispatcher(RepositoryEventDispatcher repositoryEventDispatcher)
public DefaultInstaller addMetadataGeneratorFactory(MetadataGeneratorFactory factory)
public DefaultInstaller setMetadataGeneratorFactories(Collection<MetadataGeneratorFactory> metadataFactories)
public DefaultInstaller setSyncContextFactory(SyncContextFactory syncContextFactory)
public org.eclipse.aether.installation.InstallResult install(org.eclipse.aether.RepositorySystemSession session,
org.eclipse.aether.installation.InstallRequest request)
throws org.eclipse.aether.installation.InstallationException
Installerinstall in interface Installersession - The repository session, must not be null.request - The installation request, must not be null.null.org.eclipse.aether.installation.InstallationException - If any artifact/metadata from the request could not be installed.RepositorySystem.install(RepositorySystemSession, InstallRequest),
MetadataGeneratorFactory.newInstance(RepositorySystemSession, InstallRequest)Copyright © 2010-2015 The Eclipse Foundation. All Rights Reserved.