public class TakariLocalRepositoryManager extends Object implements org.eclipse.aether.repository.LocalRepositoryManager
_remote.repositories, with content key as filename>repo_id and value as empty string. If a file has
been installed in the repository, but not downloaded from a remote repository, it is tracked as empty repository id
and always resolved. For example:
artifact-1.0.pom>= artifact-1.0.jar>= artifact-1.0.pom>central= artifact-1.0.jar>central= artifact-1.0.zip>central= artifact-1.0-classifier.zip>central= artifact-1.0.pom>my_repo_id=
| Modifier and Type | Field and Description |
|---|---|
static String |
REPOSITORY_URI |
| Constructor and Description |
|---|
TakariLocalRepositoryManager(File basedir,
org.eclipse.aether.RepositorySystemSession session,
List<ArtifactValidator> validators) |
| Modifier and Type | Method and 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) |
String |
getPathForLocalArtifact(org.eclipse.aether.artifact.Artifact artifact) |
String |
getPathForLocalMetadata(org.eclipse.aether.metadata.Metadata metadata) |
String |
getPathForRemoteArtifact(org.eclipse.aether.artifact.Artifact artifact,
org.eclipse.aether.repository.RemoteRepository repository,
String context) |
String |
getPathForRemoteMetadata(org.eclipse.aether.metadata.Metadata metadata,
org.eclipse.aether.repository.RemoteRepository repository,
String context) |
org.eclipse.aether.repository.LocalRepository |
getRepository() |
static String |
getString(Map<?,?> properties,
String defaultValue,
String... keys) |
static String |
getString(org.eclipse.aether.RepositorySystemSession session,
String defaultValue,
String... keys) |
String |
toString() |
void |
Xadd(org.eclipse.aether.RepositorySystemSession session,
org.eclipse.aether.repository.LocalArtifactRegistration request) |
org.eclipse.aether.repository.LocalArtifactResult |
Xfind(org.eclipse.aether.RepositorySystemSession session,
org.eclipse.aether.repository.LocalArtifactRequest request) |
public static final String REPOSITORY_URI
public TakariLocalRepositoryManager(File basedir, org.eclipse.aether.RepositorySystemSession session, List<ArtifactValidator> validators)
public org.eclipse.aether.repository.LocalArtifactResult find(org.eclipse.aether.RepositorySystemSession session,
org.eclipse.aether.repository.LocalArtifactRequest request)
find in interface org.eclipse.aether.repository.LocalRepositoryManagerpublic void add(org.eclipse.aether.RepositorySystemSession session,
org.eclipse.aether.repository.LocalArtifactRegistration request)
add in interface org.eclipse.aether.repository.LocalRepositoryManagerpublic static String getString(org.eclipse.aether.RepositorySystemSession session, String defaultValue, String... keys)
public org.eclipse.aether.repository.LocalRepository getRepository()
getRepository in interface org.eclipse.aether.repository.LocalRepositoryManagerpublic String getPathForLocalArtifact(org.eclipse.aether.artifact.Artifact artifact)
getPathForLocalArtifact in interface org.eclipse.aether.repository.LocalRepositoryManagerpublic String getPathForRemoteArtifact(org.eclipse.aether.artifact.Artifact artifact, org.eclipse.aether.repository.RemoteRepository repository, String context)
getPathForRemoteArtifact in interface org.eclipse.aether.repository.LocalRepositoryManagerpublic String getPathForLocalMetadata(org.eclipse.aether.metadata.Metadata metadata)
getPathForLocalMetadata in interface org.eclipse.aether.repository.LocalRepositoryManagerpublic String getPathForRemoteMetadata(org.eclipse.aether.metadata.Metadata metadata, org.eclipse.aether.repository.RemoteRepository repository, String context)
getPathForRemoteMetadata in interface org.eclipse.aether.repository.LocalRepositoryManagerpublic org.eclipse.aether.repository.LocalArtifactResult Xfind(org.eclipse.aether.RepositorySystemSession session,
org.eclipse.aether.repository.LocalArtifactRequest request)
public void Xadd(org.eclipse.aether.RepositorySystemSession session,
org.eclipse.aether.repository.LocalArtifactRegistration request)
public org.eclipse.aether.repository.LocalMetadataResult find(org.eclipse.aether.RepositorySystemSession session,
org.eclipse.aether.repository.LocalMetadataRequest request)
find in interface org.eclipse.aether.repository.LocalRepositoryManagerpublic void add(org.eclipse.aether.RepositorySystemSession session,
org.eclipse.aether.repository.LocalMetadataRegistration request)
add in interface org.eclipse.aether.repository.LocalRepositoryManagerCopyright © 2010–2015. All rights reserved.