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, toString
public EnhancedLocalRepositoryManager(File basedir)
public EnhancedLocalRepositoryManager setLogger(Logger logger)
setLogger
in class SimpleLocalRepositoryManager
public LocalArtifactResult find(RepositorySystemSession session, LocalArtifactRequest request)
LocalRepositoryManager
find
in interface LocalRepositoryManager
find
in class SimpleLocalRepositoryManager
session
- 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)
LocalRepositoryManager
add
in interface LocalRepositoryManager
add
in class SimpleLocalRepositoryManager
session
- The repository system session during which the registration is made, must not be null
.request
- The registration request, must not be null
.Copyright © 2010-2012 Sonatype, Inc.. All Rights Reserved.