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 P2TargetPlatform
createTargetPlatform(TargetPlatformConfigurationStub tpConfiguration, ExecutionEnvironmentConfiguration eeConfiguration, List<ReactorProject> reactorProjects, PomDependencyCollector pomDependencies)
P2TargetPlatform
createTargetPlatform(TargetPlatformConfigurationStub tpConfiguration, ExecutionEnvironmentResolutionHandler eeResolutionHandler, List<ReactorProject> reactorProjects, PomDependencyCollector pomDependencies)
Computes the target platform from the given configuration and content.P2TargetPlatform
createTargetPlatformWithUpdatedReactorContent(TargetPlatform baseTargetPlatform, List<PublishingRepository> upstreamProjectResults)
PomDependencyCollector
newPomDependencyCollector()
Creates a new object for collecting the bundles within the POM dependencies.
-
-
-
Constructor Detail
-
TargetPlatformFactoryImpl
public TargetPlatformFactoryImpl(MavenContext mavenContext, org.eclipse.equinox.p2.core.IProvisioningAgent remoteAgent, LocalArtifactRepository localArtifactRepo, LocalMetadataRepository localMetadataRepo, TargetDefinitionResolverService targetDefinitionResolverService)
-
-
Method Detail
-
newPomDependencyCollector
public PomDependencyCollector newPomDependencyCollector()
Description copied from interface:TargetPlatformFactory
Creates a new object for collecting the bundles within the POM dependencies.- Specified by:
newPomDependencyCollector
in interfaceTargetPlatformFactory
-
createTargetPlatform
public P2TargetPlatform createTargetPlatform(TargetPlatformConfigurationStub tpConfiguration, ExecutionEnvironmentConfiguration eeConfiguration, List<ReactorProject> reactorProjects, PomDependencyCollector pomDependencies)
- Specified by:
createTargetPlatform
in 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 benull
pomDependencies
- may benull
- See Also:
createTargetPlatform(TargetPlatformConfigurationStub, ExecutionEnvironmentConfiguration, List, PomDependencyCollector)
-
createTargetPlatformWithUpdatedReactorContent
public P2TargetPlatform createTargetPlatformWithUpdatedReactorContent(TargetPlatform baseTargetPlatform, List<PublishingRepository> upstreamProjectResults)
-
-