public class PublisherServiceFactoryImpl extends Object implements PublisherServiceFactory
Constructor and Description |
---|
PublisherServiceFactoryImpl() |
Modifier and Type | Method and Description |
---|---|
PublisherService |
createPublisher(RepositoryReferences contextRepos,
BuildContext context)
Creates a
PublisherService instance that can be used to publish artifacts. |
void |
setMavenContext(MavenContext mavenContext) |
void |
setReactorRepositoryManager(ReactorRepositoryManager reactorRepoManager) |
public PublisherService createPublisher(RepositoryReferences contextRepos, BuildContext context) throws FacadeException
PublisherServiceFactory
PublisherService
instance that can be used to publish artifacts. The
results are stored in the build output p2 repository of the given module (identified through
the BuildContext parameter).createPublisher
in interface PublisherServiceFactory
contextRepos
- Context metadata repositories that may be consulted by the publishers; note that
artifact repository references in the argument are ignoredcontext
- Build information of the current project, e.g. the build output directory.PublisherService
instance.FacadeException
- if a checked exception occurs internallypublic void setMavenContext(MavenContext mavenContext)
public void setReactorRepositoryManager(ReactorRepositoryManager reactorRepoManager)
Copyright © 2008-2016 Eclipse Foundation. All Rights Reserved.