Class TestLocalRepositoryManager

java.lang.Object
org.eclipse.aether.internal.test.util.TestLocalRepositoryManager
All Implemented Interfaces:
org.eclipse.aether.repository.LocalRepositoryManager

public class TestLocalRepositoryManager extends Object implements org.eclipse.aether.repository.LocalRepositoryManager
A simplistic local repository manager that uses a temporary base directory.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.repository.LocalArtifactRegistration request)
     
    void
    add(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.repository.LocalMetadataRegistration request)
     
    org.eclipse.aether.repository.LocalArtifactResult
    find(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.repository.LocalArtifactRequest request)
     
    org.eclipse.aether.repository.LocalMetadataResult
    find(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.repository.LocalMetadataRequest request)
     
    Set<org.eclipse.aether.artifact.Artifact>
     
    Set<org.eclipse.aether.metadata.Metadata>
     
    getPathForLocalArtifact(org.eclipse.aether.artifact.Artifact artifact)
     
    getPathForLocalMetadata(org.eclipse.aether.metadata.Metadata metadata)
     
    getPathForRemoteArtifact(org.eclipse.aether.artifact.Artifact artifact, org.eclipse.aether.repository.RemoteRepository repository, String context)
     
    getPathForRemoteMetadata(org.eclipse.aether.metadata.Metadata metadata, org.eclipse.aether.repository.RemoteRepository repository, String context)
     
    org.eclipse.aether.repository.LocalRepository
     
    void
    setArtifactAvailability(org.eclipse.aether.artifact.Artifact artifact, boolean available)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getRepository

      public org.eclipse.aether.repository.LocalRepository getRepository()
      Specified by:
      getRepository in interface org.eclipse.aether.repository.LocalRepositoryManager
    • getPathForLocalArtifact

      public String getPathForLocalArtifact(org.eclipse.aether.artifact.Artifact artifact)
      Specified by:
      getPathForLocalArtifact in interface org.eclipse.aether.repository.LocalRepositoryManager
    • getPathForRemoteArtifact

      public String getPathForRemoteArtifact(org.eclipse.aether.artifact.Artifact artifact, org.eclipse.aether.repository.RemoteRepository repository, String context)
      Specified by:
      getPathForRemoteArtifact in interface org.eclipse.aether.repository.LocalRepositoryManager
    • getPathForLocalMetadata

      public String getPathForLocalMetadata(org.eclipse.aether.metadata.Metadata metadata)
      Specified by:
      getPathForLocalMetadata in interface org.eclipse.aether.repository.LocalRepositoryManager
    • getPathForRemoteMetadata

      public String getPathForRemoteMetadata(org.eclipse.aether.metadata.Metadata metadata, org.eclipse.aether.repository.RemoteRepository repository, String context)
      Specified by:
      getPathForRemoteMetadata in interface org.eclipse.aether.repository.LocalRepositoryManager
    • find

      public org.eclipse.aether.repository.LocalArtifactResult find(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.repository.LocalArtifactRequest request)
      Specified by:
      find in interface org.eclipse.aether.repository.LocalRepositoryManager
    • add

      public void add(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.repository.LocalArtifactRegistration request)
      Specified by:
      add in interface org.eclipse.aether.repository.LocalRepositoryManager
    • find

      public org.eclipse.aether.repository.LocalMetadataResult find(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.repository.LocalMetadataRequest request)
      Specified by:
      find in interface org.eclipse.aether.repository.LocalRepositoryManager
    • add

      public void add(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.repository.LocalMetadataRegistration request)
      Specified by:
      add in interface org.eclipse.aether.repository.LocalRepositoryManager
    • getArtifactRegistration

      public Set<org.eclipse.aether.artifact.Artifact> getArtifactRegistration()
    • getMetadataRegistration

      public Set<org.eclipse.aether.metadata.Metadata> getMetadataRegistration()
    • setArtifactAvailability

      public void setArtifactAvailability(org.eclipse.aether.artifact.Artifact artifact, boolean available)