org.apache.maven.artifact.repository
Class LegacyLocalRepositoryManager
java.lang.Object
org.apache.maven.artifact.repository.LegacyLocalRepositoryManager
- All Implemented Interfaces:
- org.sonatype.aether.repository.LocalRepositoryManager
public class LegacyLocalRepositoryManager
- extends Object
- implements org.sonatype.aether.repository.LocalRepositoryManager
Warning: This is an internal utility class that is only public for technical reasons, it is not part
of the public API. In particular, this class can be changed or deleted without prior notice.
- Author:
- Benjamin Bentmann
Method Summary |
void |
add(org.sonatype.aether.RepositorySystemSession session,
org.sonatype.aether.repository.LocalArtifactRegistration request)
|
void |
add(org.sonatype.aether.RepositorySystemSession session,
org.sonatype.aether.repository.LocalMetadataRegistration request)
|
org.sonatype.aether.repository.LocalArtifactResult |
find(org.sonatype.aether.RepositorySystemSession session,
org.sonatype.aether.repository.LocalArtifactRequest request)
|
org.sonatype.aether.repository.LocalMetadataResult |
find(org.sonatype.aether.RepositorySystemSession session,
org.sonatype.aether.repository.LocalMetadataRequest request)
|
String |
getPathForLocalArtifact(org.sonatype.aether.artifact.Artifact artifact)
|
String |
getPathForLocalMetadata(org.sonatype.aether.metadata.Metadata metadata)
|
String |
getPathForRemoteArtifact(org.sonatype.aether.artifact.Artifact artifact,
org.sonatype.aether.repository.RemoteRepository repository,
String context)
|
String |
getPathForRemoteMetadata(org.sonatype.aether.metadata.Metadata metadata,
org.sonatype.aether.repository.RemoteRepository repository,
String context)
|
org.sonatype.aether.repository.LocalRepository |
getRepository()
|
static org.sonatype.aether.repository.LocalRepositoryManager |
wrap(ArtifactRepository repository,
org.sonatype.aether.RepositorySystem system)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
wrap
public static org.sonatype.aether.repository.LocalRepositoryManager wrap(ArtifactRepository repository,
org.sonatype.aether.RepositorySystem system)
getRepository
public org.sonatype.aether.repository.LocalRepository getRepository()
- Specified by:
getRepository
in interface org.sonatype.aether.repository.LocalRepositoryManager
getPathForLocalArtifact
public String getPathForLocalArtifact(org.sonatype.aether.artifact.Artifact artifact)
- Specified by:
getPathForLocalArtifact
in interface org.sonatype.aether.repository.LocalRepositoryManager
getPathForRemoteArtifact
public String getPathForRemoteArtifact(org.sonatype.aether.artifact.Artifact artifact,
org.sonatype.aether.repository.RemoteRepository repository,
String context)
- Specified by:
getPathForRemoteArtifact
in interface org.sonatype.aether.repository.LocalRepositoryManager
getPathForLocalMetadata
public String getPathForLocalMetadata(org.sonatype.aether.metadata.Metadata metadata)
- Specified by:
getPathForLocalMetadata
in interface org.sonatype.aether.repository.LocalRepositoryManager
getPathForRemoteMetadata
public String getPathForRemoteMetadata(org.sonatype.aether.metadata.Metadata metadata,
org.sonatype.aether.repository.RemoteRepository repository,
String context)
- Specified by:
getPathForRemoteMetadata
in interface org.sonatype.aether.repository.LocalRepositoryManager
find
public org.sonatype.aether.repository.LocalArtifactResult find(org.sonatype.aether.RepositorySystemSession session,
org.sonatype.aether.repository.LocalArtifactRequest request)
- Specified by:
find
in interface org.sonatype.aether.repository.LocalRepositoryManager
find
public org.sonatype.aether.repository.LocalMetadataResult find(org.sonatype.aether.RepositorySystemSession session,
org.sonatype.aether.repository.LocalMetadataRequest request)
- Specified by:
find
in interface org.sonatype.aether.repository.LocalRepositoryManager
add
public void add(org.sonatype.aether.RepositorySystemSession session,
org.sonatype.aether.repository.LocalArtifactRegistration request)
- Specified by:
add
in interface org.sonatype.aether.repository.LocalRepositoryManager
add
public void add(org.sonatype.aether.RepositorySystemSession session,
org.sonatype.aether.repository.LocalMetadataRegistration request)
- Specified by:
add
in interface org.sonatype.aether.repository.LocalRepositoryManager
Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.