@Named @Component(role=OfflineController.class) public class DefaultOfflineController extends Object implements OfflineController, org.eclipse.aether.spi.locator.Service
| Constructor and Description |
|---|
DefaultOfflineController() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkOffline(org.eclipse.aether.RepositorySystemSession session,
org.eclipse.aether.repository.RemoteRepository repository)
Determines whether the specified repository is accessible according to the offline policy of the given session.
|
void |
initService(org.eclipse.aether.spi.locator.ServiceLocator locator) |
DefaultOfflineController |
setLoggerFactory(org.eclipse.aether.spi.log.LoggerFactory loggerFactory) |
public void initService(org.eclipse.aether.spi.locator.ServiceLocator locator)
initService in interface org.eclipse.aether.spi.locator.Servicepublic DefaultOfflineController setLoggerFactory(org.eclipse.aether.spi.log.LoggerFactory loggerFactory)
public void checkOffline(org.eclipse.aether.RepositorySystemSession session,
org.eclipse.aether.repository.RemoteRepository repository)
throws org.eclipse.aether.transfer.RepositoryOfflineException
OfflineControllercheckOffline in interface OfflineControllersession - The repository session during which the check is made, must not be nullrepository - The remote repository to check for accessibility, must not be null.org.eclipse.aether.transfer.RepositoryOfflineException - If the session forbids access to the repository.Copyright © 2010-2014 The Eclipse Foundation. All Rights Reserved.