public interface PublisherServiceFactory
Modifier and Type | Method and Description |
---|---|
PublisherService |
createPublisher(File targetRepository,
RepositoryReferences contextRepositories,
BuildContext context)
Creates a
PublisherService instance that can be used to publish artifacts. |
PublisherService createPublisher(File targetRepository, RepositoryReferences contextRepositories, BuildContext context) throws FacadeException
PublisherService
instance that can be used to publish artifacts. The
results are stored as metadata and artifacts repository at the given location.
Note: Only one PublisherService
instance shall be active at a time for each
project, so that certain sub-folders of the target folder can be used as storage location of
an unsynchronised cache.
targetRepository
- The location of the output repository; if the output repository exists, new
content will be appendedcontextRepositories
- Context metadata repositories that may be consulted by the publishers; note that
artifact repository references in the argument are ignoredcontext
- Context information about the current projectPublisherService
instance. The caller is responsible to call
stop on the instance after useFacadeException
- if a checked exception occurs internallyCopyright © 2008-2012 Eclipse Foundation. All Rights Reserved.