Class DefaultDeployer

    • 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.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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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: Deployer
        Uploads a collection of artifacts and their accompanying metadata to a remote repository.
        Specified by:
        deploy in interface Deployer
        Parameters:
        session - The repository session, must not be null.
        request - The deployment request, must not be null.
        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)