Package org.eclipse.aether.internal.impl
Class DefaultRepositorySystem
java.lang.Object
org.eclipse.aether.internal.impl.DefaultRepositorySystem
- All Implemented Interfaces:
org.eclipse.aether.RepositorySystem
@Singleton
@Named
public class DefaultRepositorySystem
extends Object
implements org.eclipse.aether.RepositorySystem
-
Constructor Summary
ConstructorDescriptionDefaultRepositorySystem
(VersionResolver versionResolver, VersionRangeResolver versionRangeResolver, ArtifactResolver artifactResolver, MetadataResolver metadataResolver, ArtifactDescriptorReader artifactDescriptorReader, DependencyCollector dependencyCollector, Installer installer, Deployer deployer, LocalRepositoryProvider localRepositoryProvider, org.eclipse.aether.spi.synccontext.SyncContextFactory syncContextFactory, RemoteRepositoryManager remoteRepositoryManager, RepositorySystemLifecycle repositorySystemLifecycle) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addOnSystemEndedHandler
(Runnable handler) org.eclipse.aether.collection.CollectResult
collectDependencies
(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.collection.CollectRequest request) org.eclipse.aether.deployment.DeployResult
deploy
(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.deployment.DeployRequest request) List<org.eclipse.aether.graph.DependencyNode>
flattenDependencyNodes
(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.graph.DependencyNode root) org.eclipse.aether.installation.InstallResult
install
(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.installation.InstallRequest request) org.eclipse.aether.repository.RemoteRepository
newDeploymentRepository
(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.repository.RemoteRepository repository) org.eclipse.aether.repository.LocalRepositoryManager
newLocalRepositoryManager
(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.repository.LocalRepository localRepository) List<org.eclipse.aether.repository.RemoteRepository>
newResolutionRepositories
(org.eclipse.aether.RepositorySystemSession session, List<org.eclipse.aether.repository.RemoteRepository> repositories) org.eclipse.aether.SyncContext
newSyncContext
(org.eclipse.aether.RepositorySystemSession session, boolean shared) org.eclipse.aether.resolution.ArtifactDescriptorResult
readArtifactDescriptor
(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.resolution.ArtifactDescriptorRequest request) org.eclipse.aether.resolution.ArtifactResult
resolveArtifact
(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.resolution.ArtifactRequest request) List<org.eclipse.aether.resolution.ArtifactResult>
resolveArtifacts
(org.eclipse.aether.RepositorySystemSession session, Collection<? extends org.eclipse.aether.resolution.ArtifactRequest> requests) org.eclipse.aether.resolution.DependencyResult
resolveDependencies
(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.resolution.DependencyRequest request) List<org.eclipse.aether.resolution.MetadataResult>
resolveMetadata
(org.eclipse.aether.RepositorySystemSession session, Collection<? extends org.eclipse.aether.resolution.MetadataRequest> requests) org.eclipse.aether.resolution.VersionResult
resolveVersion
(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.resolution.VersionRequest request) org.eclipse.aether.resolution.VersionRangeResult
resolveVersionRange
(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.resolution.VersionRangeRequest request) void
shutdown()
-
Constructor Details
-
DefaultRepositorySystem
@Inject public DefaultRepositorySystem(VersionResolver versionResolver, VersionRangeResolver versionRangeResolver, ArtifactResolver artifactResolver, MetadataResolver metadataResolver, ArtifactDescriptorReader artifactDescriptorReader, DependencyCollector dependencyCollector, Installer installer, Deployer deployer, LocalRepositoryProvider localRepositoryProvider, org.eclipse.aether.spi.synccontext.SyncContextFactory syncContextFactory, RemoteRepositoryManager remoteRepositoryManager, RepositorySystemLifecycle repositorySystemLifecycle)
-
-
Method Details
-
resolveVersion
public org.eclipse.aether.resolution.VersionResult resolveVersion(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.resolution.VersionRequest request) throws org.eclipse.aether.resolution.VersionResolutionException - Specified by:
resolveVersion
in interfaceorg.eclipse.aether.RepositorySystem
- Throws:
org.eclipse.aether.resolution.VersionResolutionException
-
resolveVersionRange
public org.eclipse.aether.resolution.VersionRangeResult resolveVersionRange(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.resolution.VersionRangeRequest request) throws org.eclipse.aether.resolution.VersionRangeResolutionException - Specified by:
resolveVersionRange
in interfaceorg.eclipse.aether.RepositorySystem
- Throws:
org.eclipse.aether.resolution.VersionRangeResolutionException
-
readArtifactDescriptor
public org.eclipse.aether.resolution.ArtifactDescriptorResult readArtifactDescriptor(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.resolution.ArtifactDescriptorRequest request) throws org.eclipse.aether.resolution.ArtifactDescriptorException - Specified by:
readArtifactDescriptor
in interfaceorg.eclipse.aether.RepositorySystem
- Throws:
org.eclipse.aether.resolution.ArtifactDescriptorException
-
resolveArtifact
public org.eclipse.aether.resolution.ArtifactResult resolveArtifact(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.resolution.ArtifactRequest request) throws org.eclipse.aether.resolution.ArtifactResolutionException - Specified by:
resolveArtifact
in interfaceorg.eclipse.aether.RepositorySystem
- Throws:
org.eclipse.aether.resolution.ArtifactResolutionException
-
resolveArtifacts
public List<org.eclipse.aether.resolution.ArtifactResult> resolveArtifacts(org.eclipse.aether.RepositorySystemSession session, Collection<? extends org.eclipse.aether.resolution.ArtifactRequest> requests) throws org.eclipse.aether.resolution.ArtifactResolutionException - Specified by:
resolveArtifacts
in interfaceorg.eclipse.aether.RepositorySystem
- Throws:
org.eclipse.aether.resolution.ArtifactResolutionException
-
resolveMetadata
public List<org.eclipse.aether.resolution.MetadataResult> resolveMetadata(org.eclipse.aether.RepositorySystemSession session, Collection<? extends org.eclipse.aether.resolution.MetadataRequest> requests) - Specified by:
resolveMetadata
in interfaceorg.eclipse.aether.RepositorySystem
-
collectDependencies
public org.eclipse.aether.collection.CollectResult collectDependencies(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.collection.CollectRequest request) throws org.eclipse.aether.collection.DependencyCollectionException - Specified by:
collectDependencies
in interfaceorg.eclipse.aether.RepositorySystem
- Throws:
org.eclipse.aether.collection.DependencyCollectionException
-
resolveDependencies
public org.eclipse.aether.resolution.DependencyResult resolveDependencies(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.resolution.DependencyRequest request) throws org.eclipse.aether.resolution.DependencyResolutionException - Specified by:
resolveDependencies
in interfaceorg.eclipse.aether.RepositorySystem
- Throws:
org.eclipse.aether.resolution.DependencyResolutionException
-
flattenDependencyNodes
public List<org.eclipse.aether.graph.DependencyNode> flattenDependencyNodes(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.graph.DependencyNode root) - Specified by:
flattenDependencyNodes
in interfaceorg.eclipse.aether.RepositorySystem
-
install
public org.eclipse.aether.installation.InstallResult install(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.installation.InstallRequest request) throws org.eclipse.aether.installation.InstallationException - Specified by:
install
in interfaceorg.eclipse.aether.RepositorySystem
- Throws:
org.eclipse.aether.installation.InstallationException
-
deploy
public org.eclipse.aether.deployment.DeployResult deploy(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.deployment.DeployRequest request) throws org.eclipse.aether.deployment.DeploymentException - Specified by:
deploy
in interfaceorg.eclipse.aether.RepositorySystem
- Throws:
org.eclipse.aether.deployment.DeploymentException
-
newLocalRepositoryManager
public org.eclipse.aether.repository.LocalRepositoryManager newLocalRepositoryManager(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.repository.LocalRepository localRepository) - Specified by:
newLocalRepositoryManager
in interfaceorg.eclipse.aether.RepositorySystem
-
newSyncContext
public org.eclipse.aether.SyncContext newSyncContext(org.eclipse.aether.RepositorySystemSession session, boolean shared) - Specified by:
newSyncContext
in interfaceorg.eclipse.aether.RepositorySystem
-
newResolutionRepositories
public List<org.eclipse.aether.repository.RemoteRepository> newResolutionRepositories(org.eclipse.aether.RepositorySystemSession session, List<org.eclipse.aether.repository.RemoteRepository> repositories) - Specified by:
newResolutionRepositories
in interfaceorg.eclipse.aether.RepositorySystem
-
newDeploymentRepository
public org.eclipse.aether.repository.RemoteRepository newDeploymentRepository(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.repository.RemoteRepository repository) - Specified by:
newDeploymentRepository
in interfaceorg.eclipse.aether.RepositorySystem
-
addOnSystemEndedHandler
- Specified by:
addOnSystemEndedHandler
in interfaceorg.eclipse.aether.RepositorySystem
-
shutdown
- Specified by:
shutdown
in interfaceorg.eclipse.aether.RepositorySystem
-