Class PublisherServiceFactoryImpl
- java.lang.Object
-
- org.eclipse.tycho.p2.tools.publisher.PublisherServiceFactoryImpl
-
- All Implemented Interfaces:
PublisherServiceFactory
public class PublisherServiceFactoryImpl extends Object implements PublisherServiceFactory
-
-
Constructor Summary
Constructors Constructor Description PublisherServiceFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PublishProductTool
createProductPublisher(ReactorProject project, List<TargetEnvironment> environments, String buildQualifier, Interpolator interpolator)
PublisherService
createPublisher(ReactorProject project, List<TargetEnvironment> environments)
Creates aPublisherService
instance that can be used to publish artifacts.void
setMavenContext(MavenContext mavenContext)
void
setReactorRepositoryManager(ReactorRepositoryManager reactorRepoManager)
-
-
-
Method Detail
-
createPublisher
public PublisherService createPublisher(ReactorProject project, List<TargetEnvironment> environments)
Description copied from interface:PublisherServiceFactory
Creates aPublisherService
instance that can be used to publish artifacts. The results are stored in the build output p2 repository of the given project.- Specified by:
createPublisher
in interfacePublisherServiceFactory
- Parameters:
project
- The project for which to publish artifacts.environments
- The list of environments to publish for.- Returns:
- A new
PublisherService
instance.
-
createProductPublisher
public PublishProductTool createProductPublisher(ReactorProject project, List<TargetEnvironment> environments, String buildQualifier, Interpolator interpolator)
- Specified by:
createProductPublisher
in interfacePublisherServiceFactory
-
setMavenContext
public void setMavenContext(MavenContext mavenContext)
-
setReactorRepositoryManager
public void setReactorRepositoryManager(ReactorRepositoryManager reactorRepoManager)
-
-