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 PublishProductToolcreateProductPublisher(ReactorProject project, List<TargetEnvironment> environments, String buildQualifier, Interpolator interpolator)PublisherServicecreatePublisher(ReactorProject project, List<TargetEnvironment> environments)Creates aPublisherServiceinstance that can be used to publish artifacts.voidsetMavenContext(MavenContext mavenContext)voidsetReactorRepositoryManager(ReactorRepositoryManager reactorRepoManager)
-
-
-
Method Detail
-
createPublisher
public PublisherService createPublisher(ReactorProject project, List<TargetEnvironment> environments)
Description copied from interface:PublisherServiceFactoryCreates aPublisherServiceinstance that can be used to publish artifacts. The results are stored in the build output p2 repository of the given project.- Specified by:
createPublisherin interfacePublisherServiceFactory- Parameters:
project- The project for which to publish artifacts.environments- The list of environments to publish for.- Returns:
- A new
PublisherServiceinstance.
-
createProductPublisher
public PublishProductTool createProductPublisher(ReactorProject project, List<TargetEnvironment> environments, String buildQualifier, Interpolator interpolator)
- Specified by:
createProductPublisherin interfacePublisherServiceFactory
-
setMavenContext
public void setMavenContext(MavenContext mavenContext)
-
setReactorRepositoryManager
public void setReactorRepositoryManager(ReactorRepositoryManager reactorRepoManager)
-
-