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 ClassesModifier and TypeInterfaceDescriptionstatic interfaceThe check result, is immutable. -
Method Summary
Modifier and TypeMethodDescriptionacceptArtifact(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, 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.
-