public class LegacyLocalRepositoryManager extends Object implements LocalRepositoryManager
Modifier and Type | Method and Description |
---|---|
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) |
public static RepositorySystemSession overlay(ArtifactRepository repository, RepositorySystemSession session, RepositorySystem system)
public LocalRepository getRepository()
getRepository
in interface LocalRepositoryManager
public String getPathForLocalArtifact(Artifact artifact)
getPathForLocalArtifact
in interface LocalRepositoryManager
public String getPathForRemoteArtifact(Artifact artifact, RemoteRepository repository, String context)
getPathForRemoteArtifact
in interface LocalRepositoryManager
public String getPathForLocalMetadata(Metadata metadata)
getPathForLocalMetadata
in interface LocalRepositoryManager
public String getPathForRemoteMetadata(Metadata metadata, RemoteRepository repository, String context)
getPathForRemoteMetadata
in interface LocalRepositoryManager
public LocalArtifactResult find(RepositorySystemSession session, LocalArtifactRequest request)
find
in interface LocalRepositoryManager
public LocalMetadataResult find(RepositorySystemSession session, LocalMetadataRequest request)
find
in interface LocalRepositoryManager
public void add(RepositorySystemSession session, LocalArtifactRegistration request)
add
in interface LocalRepositoryManager
public void add(RepositorySystemSession session, LocalMetadataRegistration request)
add
in interface LocalRepositoryManager
Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.