Interface RemoteRepositoryFilter


public interface RemoteRepositoryFilter
Remote repository filter that decides should the given artifact or metadata be accepted (for further processing) from remote repository or not.
Since:
1.9.0
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    The check result, is immutable.
  • Method Summary

    Modifier and Type
    Method
    Description
    acceptArtifact(org.eclipse.aether.repository.RemoteRepository remoteRepository, org.eclipse.aether.artifact.Artifact artifact)
    Decides should artifact be accepted from given remote repository.
    acceptMetadata(org.eclipse.aether.repository.RemoteRepository remoteRepository, org.eclipse.aether.metadata.Metadata metadata)
    Decides should metadata be accepted from given remote repository.
  • Method Details

    • acceptArtifact

      RemoteRepositoryFilter.Result acceptArtifact(org.eclipse.aether.repository.RemoteRepository remoteRepository, org.eclipse.aether.artifact.Artifact artifact)
      Decides should artifact be accepted from given remote repository.
      Parameters:
      remoteRepository - The remote repository, not null.
      artifact - The artifact, not null.
      Returns:
      the result, never null.
    • acceptMetadata

      RemoteRepositoryFilter.Result acceptMetadata(org.eclipse.aether.repository.RemoteRepository remoteRepository, org.eclipse.aether.metadata.Metadata metadata)
      Decides should metadata be accepted from given remote repository.
      Parameters:
      remoteRepository - The remote repository, not null.
      metadata - The artifact, not null.
      Returns:
      the result, never null.