Package org.eclipse.aether.internal.impl
Class DefaultDeployer
java.lang.Object
org.eclipse.aether.internal.impl.DefaultDeployer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeploy
(RepositorySystemSession session, DeployRequest request) Uploads a collection of artifacts and their accompanying metadata to a remote repository.void
initService
(ServiceLocator locator) Provides the opportunity to initialize this service and to acquire other services for its operation from the locator.setFileProcessor
(FileProcessor fileProcessor) setMetadataGeneratorFactories
(Collection<MetadataGeneratorFactory> metadataFactories) setOfflineController
(OfflineController offlineController) setRemoteRepositoryManager
(RemoteRepositoryManager remoteRepositoryManager) setRepositoryConnectorProvider
(RepositoryConnectorProvider repositoryConnectorProvider) setRepositoryEventDispatcher
(RepositoryEventDispatcher repositoryEventDispatcher) setSyncContextFactory
(SyncContextFactory syncContextFactory) setUpdateCheckManager
(UpdateCheckManager updateCheckManager)
-
Constructor Details
-
DefaultDeployer
public DefaultDeployer()
-
-
Method Details
-
initService
Description copied from interface:Service
Provides the opportunity to initialize this service and to acquire other services for its operation from the locator. A service must not save the reference to the provided service locator.- Specified by:
initService
in interfaceService
- Parameters:
locator
- The service locator, must not benull
.
-
setFileProcessor
-
setRepositoryEventDispatcher
public DefaultDeployer setRepositoryEventDispatcher(RepositoryEventDispatcher repositoryEventDispatcher) -
setRepositoryConnectorProvider
public DefaultDeployer setRepositoryConnectorProvider(RepositoryConnectorProvider repositoryConnectorProvider) -
setRemoteRepositoryManager
-
setUpdateCheckManager
-
addMetadataGeneratorFactory
-
setMetadataGeneratorFactories
public DefaultDeployer setMetadataGeneratorFactories(Collection<MetadataGeneratorFactory> metadataFactories) -
setSyncContextFactory
-
setOfflineController
-
deploy
public DeployResult deploy(RepositorySystemSession session, DeployRequest request) throws 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:
DeploymentException
- If any artifact/metadata from the request could not be deployed.- See Also:
-