public class EnhancedLocalRepositoryManager extends SimpleLocalRepositoryManager
| Constructor and Description |
|---|
EnhancedLocalRepositoryManager(File basedir) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(RepositorySystemSession session,
LocalArtifactRegistration request)
Registers an installed or resolved artifact with the local repository.
|
LocalArtifactResult |
find(RepositorySystemSession session,
LocalArtifactRequest request)
Queries for the existence of an artifact in the local repository.
|
EnhancedLocalRepositoryManager |
setLogger(Logger logger) |
add, find, getPathForLocalArtifact, getPathForLocalMetadata, getPathForRemoteArtifact, getPathForRemoteMetadata, getRepository, toStringpublic EnhancedLocalRepositoryManager(File basedir)
public EnhancedLocalRepositoryManager setLogger(Logger logger)
setLogger in class SimpleLocalRepositoryManagerpublic LocalArtifactResult find(RepositorySystemSession session, LocalArtifactRequest request)
LocalRepositoryManagerfind in interface LocalRepositoryManagerfind in class SimpleLocalRepositoryManagersession - The repository system session during which the request is made, must not be null.request - The artifact request, must not be null.null.public void add(RepositorySystemSession session, LocalArtifactRegistration request)
LocalRepositoryManageradd in interface LocalRepositoryManageradd in class SimpleLocalRepositoryManagersession - The repository system session during which the registration is made, must not be null.request - The registration request, must not be null.Copyright © 2010-2014 Sonatype, Inc.. All Rights Reserved.