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(RemoteRepository remoteRepository, Artifact artifact) Decides should artifact be accepted from given remote repository.acceptMetadata(RemoteRepository remoteRepository, Metadata metadata) Decides should metadata be accepted from given remote repository.
-
Method Details
-
acceptArtifact
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
Decides should metadata be accepted from given remote repository.- Parameters:
remoteRepository- The remote repository, notnull.metadata- The artifact, notnull.- Returns:
- the result, never
null.
-