Package org.eclipse.tycho.p2.target
Class TargetPlatformFactoryImpl
- java.lang.Object
-
- org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl
-
- All Implemented Interfaces:
TargetPlatformFactory
public class TargetPlatformFactoryImpl extends Object implements TargetPlatformFactory
-
-
Constructor Summary
Constructors Constructor Description TargetPlatformFactoryImpl(MavenContext mavenContext, org.eclipse.equinox.p2.core.IProvisioningAgent remoteAgent, LocalArtifactRepository localArtifactRepo, LocalMetadataRepository localMetadataRepo, TargetDefinitionResolverService targetDefinitionResolverService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description P2TargetPlatformcreateTargetPlatform(TargetPlatformConfigurationStub tpConfiguration, ExecutionEnvironmentConfiguration eeConfiguration, List<ReactorProject> reactorProjects, PomDependencyCollector pomDependencies)P2TargetPlatformcreateTargetPlatform(TargetPlatformConfigurationStub tpConfiguration, ExecutionEnvironmentResolutionHandler eeResolutionHandler, List<ReactorProject> reactorProjects, PomDependencyCollector pomDependencies)Computes the target platform from the given configuration and content.P2TargetPlatformcreateTargetPlatformWithUpdatedReactorContent(TargetPlatform baseTargetPlatform, List<PublishingRepository> upstreamProjectResults)
-
-
-
Constructor Detail
-
TargetPlatformFactoryImpl
public TargetPlatformFactoryImpl(MavenContext mavenContext, org.eclipse.equinox.p2.core.IProvisioningAgent remoteAgent, LocalArtifactRepository localArtifactRepo, LocalMetadataRepository localMetadataRepo, TargetDefinitionResolverService targetDefinitionResolverService)
-
-
Method Detail
-
createTargetPlatform
public P2TargetPlatform createTargetPlatform(TargetPlatformConfigurationStub tpConfiguration, ExecutionEnvironmentConfiguration eeConfiguration, List<ReactorProject> reactorProjects, PomDependencyCollector pomDependencies)
- Specified by:
createTargetPlatformin interfaceTargetPlatformFactory
-
createTargetPlatform
public P2TargetPlatform createTargetPlatform(TargetPlatformConfigurationStub tpConfiguration, ExecutionEnvironmentResolutionHandler eeResolutionHandler, List<ReactorProject> reactorProjects, PomDependencyCollector pomDependencies)
Computes the target platform from the given configuration and content.Used as entry point for tests, which can provide the execution environment configuration via the more low-level type
ExecutionEnvironmentResolutionHandler.- Parameters:
tpConfiguration-eeResolutionHandler- Representation of the target execution environment profile. In case of a custom EE profile, the handler also reads the full specification from the target platform.reactorProjects- may benullpomDependencies- may benull- See Also:
createTargetPlatform(TargetPlatformConfigurationStub, ExecutionEnvironmentConfiguration, List, PomDependencyCollector)
-
createTargetPlatformWithUpdatedReactorContent
public P2TargetPlatform createTargetPlatformWithUpdatedReactorContent(TargetPlatform baseTargetPlatform, List<PublishingRepository> upstreamProjectResults)
-
-