org.eclipse.aether.impl

## Interface OfflineController

- All Known Implementing Classes:
    DefaultOfflineController

      public interface OfflineController

  Determines whether a remote repository is accessible in offline mode.
  Restriction:
    This interface is not intended to be extended by clients.
  Restriction:
    This interface is not intended to be implemented by clients.

- - ### Method Summary

    Methods
    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.

- - ### Method Detail

    - #### checkOffline

          void checkOffline(RepositorySystemSession session,
                          RemoteRepository repository)
                            throws RepositoryOfflineException

      Determines whether the specified repository is accessible according to the offline policy of the given session.
      Parameters:
        `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`.
      Throws:
        `RepositoryOfflineException` - If the session forbids access to the repository.

Copyright © 2010-2014 The Eclipse Foundation. All Rights Reserved.