Package org.eclipse.aether.internal.impl
Class DefaultDeployer
java.lang.Object
org.eclipse.aether.internal.impl.DefaultDeployer
- All Implemented Interfaces:
Deployer
-
Constructor Summary
ConstructorDescriptionDefaultDeployer
(org.eclipse.aether.spi.io.PathProcessor pathProcessor, RepositoryEventDispatcher repositoryEventDispatcher, RepositoryConnectorProvider repositoryConnectorProvider, RemoteRepositoryManager remoteRepositoryManager, UpdateCheckManager updateCheckManager, Map<String, org.eclipse.aether.spi.artifact.generator.ArtifactGeneratorFactory> artifactFactories, Map<String, MetadataGeneratorFactory> metadataFactories, org.eclipse.aether.spi.synccontext.SyncContextFactory syncContextFactory, OfflineController offlineController) -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.aether.deployment.DeployResult
deploy
(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.deployment.DeployRequest request) Uploads a collection of artifacts and their accompanying metadata to a remote repository.
-
Constructor Details
-
DefaultDeployer
@Inject public DefaultDeployer(org.eclipse.aether.spi.io.PathProcessor pathProcessor, RepositoryEventDispatcher repositoryEventDispatcher, RepositoryConnectorProvider repositoryConnectorProvider, RemoteRepositoryManager remoteRepositoryManager, UpdateCheckManager updateCheckManager, Map<String, org.eclipse.aether.spi.artifact.generator.ArtifactGeneratorFactory> artifactFactories, Map<String, MetadataGeneratorFactory> metadataFactories, org.eclipse.aether.spi.synccontext.SyncContextFactory syncContextFactory, OfflineController offlineController)
-
-
Method Details
-
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 Description copied from interface:Deployer
Uploads a collection of artifacts and their accompanying metadata to a remote repository.- Specified by:
deploy
in interfaceDeployer
- Parameters:
session
- The repository session, must not benull
.request
- The deployment request, must not benull
.- Returns:
- The deployment result, never
null
. - Throws:
org.eclipse.aether.deployment.DeploymentException
- If any artifact/metadata from the request could not be deployed.- See Also:
-