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 interfaceRemoteRepositoryFilter.ResultThe check result, is immutable.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RemoteRepositoryFilter.ResultacceptArtifact(org.eclipse.aether.repository.RemoteRepository remoteRepository, org.eclipse.aether.artifact.Artifact artifact)Decides should artifact be accepted from given remote repository.RemoteRepositoryFilter.ResultacceptMetadata(org.eclipse.aether.repository.RemoteRepository remoteRepository, org.eclipse.aether.metadata.Metadata metadata)Decides should metadata be accepted from given remote repository.
-
-
-
Method Detail
-
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, notnull.artifact- The artifact, notnull.- 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, notnull.metadata- The artifact, notnull.- Returns:
- the result, never
null.
-
-