Interface RepositoryHashSearch

All Known Implementing Classes:
EmptyRepositoryHashSearch

public interface RepositoryHashSearch
Interface for Repository Hash Searches.
  • Method Summary

    Modifier and Type
    Method
    Description
    List<org.apache.maven.artifact.Artifact>
    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>
    Search the repository for artifacts matching the given hash code when consider the entire contents of the file.
  • Method Details

    • searchFileHash

      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.
      Parameters:
      hash - the hash code to use
      Returns:
      a list of Artifact instances that matched
    • searchBytecodeHash

      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.
      Parameters:
      hash - the hash code to use
      Returns:
      a list of Artifact instances that matched