public interface OfflineController
Modifier and Type | Method and Description |
---|---|
void |
checkOffline(RepositorySystemSession session,
RemoteRepository repository)
Determines whether the specified repository is accessible according to the offline policy of the given session.
|
void checkOffline(RepositorySystemSession session, RemoteRepository repository) throws 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
.RepositoryOfflineException
- If the session forbids access to the repository.Copyright © 2010–2013 The Eclipse Foundation. All rights reserved.