@Named @Singleton public class DefaultArtifactDescriptorReader extends Object implements ArtifactDescriptorReader, Service
Constructor and Description |
---|
DefaultArtifactDescriptorReader() |
Modifier and Type | Method and Description |
---|---|
void |
initService(ServiceLocator locator) |
ArtifactDescriptorResult |
readArtifactDescriptor(RepositorySystemSession session,
ArtifactDescriptorRequest request) |
DefaultArtifactDescriptorReader |
setArtifactResolver(ArtifactResolver artifactResolver) |
DefaultArtifactDescriptorReader |
setModelBuilder(ModelBuilder modelBuilder) |
DefaultArtifactDescriptorReader |
setRemoteRepositoryManager(RemoteRepositoryManager remoteRepositoryManager) |
DefaultArtifactDescriptorReader |
setRepositoryEventDispatcher(RepositoryEventDispatcher repositoryEventDispatcher) |
DefaultArtifactDescriptorReader |
setVersionRangeResolver(VersionRangeResolver versionRangeResolver) |
DefaultArtifactDescriptorReader |
setVersionResolver(VersionResolver versionResolver) |
public void initService(ServiceLocator locator)
initService
in interface Service
public DefaultArtifactDescriptorReader setRemoteRepositoryManager(RemoteRepositoryManager remoteRepositoryManager)
public DefaultArtifactDescriptorReader setVersionResolver(VersionResolver versionResolver)
public DefaultArtifactDescriptorReader setVersionRangeResolver(VersionRangeResolver versionRangeResolver)
public DefaultArtifactDescriptorReader setArtifactResolver(ArtifactResolver artifactResolver)
public DefaultArtifactDescriptorReader setRepositoryEventDispatcher(RepositoryEventDispatcher repositoryEventDispatcher)
public DefaultArtifactDescriptorReader setModelBuilder(ModelBuilder modelBuilder)
public ArtifactDescriptorResult readArtifactDescriptor(RepositorySystemSession session, ArtifactDescriptorRequest request) throws ArtifactDescriptorException
readArtifactDescriptor
in interface ArtifactDescriptorReader
ArtifactDescriptorException
Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.