Package org.eclipse.tycho.p2.manager
Class ReactorRepositoryManagerImpl
- java.lang.Object
-
- org.eclipse.tycho.p2.manager.ReactorRepositoryManagerImpl
-
- All Implemented Interfaces:
ReactorRepositoryManagerFacade,ReactorRepositoryManager
public class ReactorRepositoryManagerImpl extends Object implements ReactorRepositoryManager
-
-
Constructor Summary
Constructors Constructor Description ReactorRepositoryManagerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactivateManager()voidbindP2ResolverFactory(P2ResolverFactory p2ResolverFactory)voidbindProvisioningAgentFactory(org.eclipse.equinox.p2.core.IProvisioningAgentProvider agentFactory)voidcomputeFinalTargetPlatform(ReactorProject project, List<? extends ReactorProjectIdentities> upstreamProjects)Computes the (immutable) target platform with final p2 metadata and attaches it to the given project.TargetPlatformcomputePreliminaryTargetPlatform(ReactorProject project, TargetPlatformConfigurationStub tpConfiguration, ExecutionEnvironmentConfiguration eeConfiguration, List<ReactorProject> reactorProjects, PomDependencyCollector pomDependencies)Computes the target platform with dependency-only p2 metadata and attaches it to the given project.voiddeactivateManager()org.eclipse.equinox.p2.core.IProvisioningAgentgetAgent()TargetPlatformgetFinalTargetPlatform(ReactorProject project)Returns the target platform with final p2 metadata for the given project.PublishingRepositorygetPublishingRepository(ReactorProjectIdentities project)Returns the project's publishing repository.
-
-
-
Method Detail
-
bindProvisioningAgentFactory
public void bindProvisioningAgentFactory(org.eclipse.equinox.p2.core.IProvisioningAgentProvider agentFactory)
-
bindP2ResolverFactory
public void bindP2ResolverFactory(P2ResolverFactory p2ResolverFactory)
-
activateManager
public void activateManager() throws IOException, org.eclipse.equinox.p2.core.ProvisionException- Throws:
IOExceptionorg.eclipse.equinox.p2.core.ProvisionException
-
deactivateManager
public void deactivateManager()
-
getAgent
public org.eclipse.equinox.p2.core.IProvisioningAgent getAgent()
- Specified by:
getAgentin interfaceReactorRepositoryManager
-
getPublishingRepository
public PublishingRepository getPublishingRepository(ReactorProjectIdentities project)
Description copied from interface:ReactorRepositoryManagerReturns the project's publishing repository.- Specified by:
getPublishingRepositoryin interfaceReactorRepositoryManager- Specified by:
getPublishingRepositoryin interfaceReactorRepositoryManagerFacade- Parameters:
project- a reference to a project in the reactor.
-
computePreliminaryTargetPlatform
public TargetPlatform computePreliminaryTargetPlatform(ReactorProject project, TargetPlatformConfigurationStub tpConfiguration, ExecutionEnvironmentConfiguration eeConfiguration, List<ReactorProject> reactorProjects, PomDependencyCollector pomDependencies)
Description copied from interface:ReactorRepositoryManagerFacadeComputes the target platform with dependency-only p2 metadata and attaches it to the given project.- Specified by:
computePreliminaryTargetPlatformin interfaceReactorRepositoryManagerFacade- Parameters:
project- the reactor project to compute the target platform for.
-
computeFinalTargetPlatform
public void computeFinalTargetPlatform(ReactorProject project, List<? extends ReactorProjectIdentities> upstreamProjects)
Description copied from interface:ReactorRepositoryManagerFacadeComputes the (immutable) target platform with final p2 metadata and attaches it to the given project.- Specified by:
computeFinalTargetPlatformin interfaceReactorRepositoryManagerFacade- Parameters:
project- the reactor project to compute the target platform for.upstreamProjects- Other projects in the reactor which have already been built and may be referenced by the given project.
-
getFinalTargetPlatform
public TargetPlatform getFinalTargetPlatform(ReactorProject project)
Description copied from interface:ReactorRepositoryManagerFacadeReturns the target platform with final p2 metadata for the given project.- Specified by:
getFinalTargetPlatformin interfaceReactorRepositoryManagerFacade
-
-