@Singleton @Named(value="empty") public class EmptyRepositoryHashSearch extends Object implements RepositoryHashSearch
RepositoryHashSearch against a
real repository.| Constructor and Description |
|---|
EmptyRepositoryHashSearch() |
| Modifier and Type | Method and Description |
|---|---|
List<org.apache.maven.artifact.Artifact> |
searchBytecodeHash(String hash)
Search the repository for artifacts matching the given hash code when consider the bytecode of the classes in the
file.
|
List<org.apache.maven.artifact.Artifact> |
searchFileHash(String hash)
Search the repository for artifacts matching the given hash code when consider the entire contents of the file.
|
public List<org.apache.maven.artifact.Artifact> searchBytecodeHash(String hash)
RepositoryHashSearchsearchBytecodeHash in interface RepositoryHashSearchhash - the hash code to useArtifact instances that matchedpublic List<org.apache.maven.artifact.Artifact> searchFileHash(String hash)
RepositoryHashSearchsearchFileHash in interface RepositoryHashSearchhash - the hash code to useArtifact instances that matchedCopyright © 2002–2024 The Apache Software Foundation. All rights reserved.