org.apache.maven.artifact.repository
Class LegacyLocalRepositoryManager

java.lang.Object
  extended by org.apache.maven.artifact.repository.LegacyLocalRepositoryManager
All Implemented Interfaces:
LocalRepositoryManager

public class LegacyLocalRepositoryManager
extends Object
implements 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(RepositorySystemSession session, LocalArtifactRegistration request)
           
 void add(RepositorySystemSession session, LocalMetadataRegistration request)
           
 LocalArtifactResult find(RepositorySystemSession session, LocalArtifactRequest request)
           
 LocalMetadataResult find(RepositorySystemSession session, LocalMetadataRequest request)
           
 String getPathForLocalArtifact(Artifact artifact)
           
 String getPathForLocalMetadata(Metadata metadata)
           
 String getPathForRemoteArtifact(Artifact artifact, RemoteRepository repository, String context)
           
 String getPathForRemoteMetadata(Metadata metadata, RemoteRepository repository, String context)
           
 LocalRepository getRepository()
           
static RepositorySystemSession overlay(ArtifactRepository repository, RepositorySystemSession session, RepositorySystem system)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

overlay

public static RepositorySystemSession overlay(ArtifactRepository repository,
                                              RepositorySystemSession session,
                                              RepositorySystem system)

getRepository

public LocalRepository getRepository()
Specified by:
getRepository in interface LocalRepositoryManager

getPathForLocalArtifact

public String getPathForLocalArtifact(Artifact artifact)
Specified by:
getPathForLocalArtifact in interface LocalRepositoryManager

getPathForRemoteArtifact

public String getPathForRemoteArtifact(Artifact artifact,
                                       RemoteRepository repository,
                                       String context)
Specified by:
getPathForRemoteArtifact in interface LocalRepositoryManager

getPathForLocalMetadata

public String getPathForLocalMetadata(Metadata metadata)
Specified by:
getPathForLocalMetadata in interface LocalRepositoryManager

getPathForRemoteMetadata

public String getPathForRemoteMetadata(Metadata metadata,
                                       RemoteRepository repository,
                                       String context)
Specified by:
getPathForRemoteMetadata in interface LocalRepositoryManager

find

public LocalArtifactResult find(RepositorySystemSession session,
                                LocalArtifactRequest request)
Specified by:
find in interface LocalRepositoryManager

find

public LocalMetadataResult find(RepositorySystemSession session,
                                LocalMetadataRequest request)
Specified by:
find in interface LocalRepositoryManager

add

public void add(RepositorySystemSession session,
                LocalArtifactRegistration request)
Specified by:
add in interface LocalRepositoryManager

add

public void add(RepositorySystemSession session,
                LocalMetadataRegistration request)
Specified by:
add in interface LocalRepositoryManager


Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.