public interface OfflineController
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 checkOffline(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.repository.RemoteRepository repository) throws org.eclipse.aether.transfer.RepositoryOfflineException
session
- The repository session during which the check is made, must not be null
repository
- 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.