|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.shared.jar.identification.repository.EmptyRepositoryHashSearch
public class EmptyRepositoryHashSearch
Empty repository hash search. Always returns an empty list.
Used for local only implementation of a RepositoryHashSearch. It is expected for the users of this library to provide an implementation of aRepositoryHashSearch
against a
real repository.
Constructor Summary | |
---|---|
EmptyRepositoryHashSearch()
|
Method Summary | |
---|---|
java.util.List |
searchBytecodeHash(java.lang.String hash)
Search the repository for artifacts matching the given hash code when consider the bytecode of the classes in the file. |
java.util.List |
searchFileHash(java.lang.String hash)
Search the repository for artifacts matching the given hash code when consider the entire contents of the file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EmptyRepositoryHashSearch()
Method Detail |
---|
public java.util.List searchBytecodeHash(java.lang.String hash)
RepositoryHashSearch
searchBytecodeHash
in interface RepositoryHashSearch
hash
- the hash code to use
Artifact
instances that matchedpublic java.util.List searchFileHash(java.lang.String hash)
RepositoryHashSearch
searchFileHash
in interface RepositoryHashSearch
hash
- the hash code to use
Artifact
instances that matched
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |