public class LegacyLocalRepositoryManager extends Object implements LocalRepositoryManager
Constructor and Description |
---|
LegacyLocalRepositoryManager(File basedir) |
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() |
String |
toString() |
public LegacyLocalRepositoryManager(File basedir)
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 void add(RepositorySystemSession session, LocalArtifactRegistration request)
add
in interface LocalRepositoryManager
public LocalMetadataResult find(RepositorySystemSession session, LocalMetadataRequest request)
find
in interface LocalRepositoryManager
public void add(RepositorySystemSession session, LocalMetadataRegistration request)
add
in interface LocalRepositoryManager
Copyright © 2001–2017 The Apache Software Foundation. All rights reserved.