Package org.eclipse.aether.internal.impl
Class DefaultDeployer
- java.lang.Object
-
- org.eclipse.aether.internal.impl.DefaultDeployer
-
- All Implemented Interfaces:
Deployer
@Singleton @Named public class DefaultDeployer extends java.lang.Object implements Deployer
-
-
Constructor Summary
Constructors Constructor Description DefaultDeployer(org.eclipse.aether.spi.io.PathProcessor pathProcessor, RepositoryEventDispatcher repositoryEventDispatcher, RepositoryConnectorProvider repositoryConnectorProvider, RemoteRepositoryManager remoteRepositoryManager, UpdateCheckManager updateCheckManager, java.util.Map<java.lang.String,org.eclipse.aether.spi.artifact.generator.ArtifactGeneratorFactory> artifactFactories, java.util.Map<java.lang.String,MetadataGeneratorFactory> metadataFactories, java.util.Map<java.lang.String,org.eclipse.aether.spi.artifact.transformer.ArtifactTransformer> artifactTransformers, org.eclipse.aether.spi.synccontext.SyncContextFactory syncContextFactory, OfflineController offlineController)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.aether.deployment.DeployResultdeploy(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 Detail
-
DefaultDeployer
@Inject public DefaultDeployer(org.eclipse.aether.spi.io.PathProcessor pathProcessor, RepositoryEventDispatcher repositoryEventDispatcher, RepositoryConnectorProvider repositoryConnectorProvider, RemoteRepositoryManager remoteRepositoryManager, UpdateCheckManager updateCheckManager, java.util.Map<java.lang.String,org.eclipse.aether.spi.artifact.generator.ArtifactGeneratorFactory> artifactFactories, java.util.Map<java.lang.String,MetadataGeneratorFactory> metadataFactories, java.util.Map<java.lang.String,org.eclipse.aether.spi.artifact.transformer.ArtifactTransformer> artifactTransformers, org.eclipse.aether.spi.synccontext.SyncContextFactory syncContextFactory, OfflineController offlineController)
-
-
Method Detail
-
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:DeployerUploads a collection of artifacts and their accompanying metadata to a remote repository.- Specified by:
deployin 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:
RepositorySystem.deploy(RepositorySystemSession, DeployRequest),MetadataGeneratorFactory.newInstance(RepositorySystemSession, DeployRequest)
-
-