public class TargetPlatformFactoryImpl extends Object implements TargetPlatformFactory
Constructor and Description |
---|
TargetPlatformFactoryImpl(MavenContext mavenContext,
org.eclipse.equinox.p2.core.IProvisioningAgent remoteAgent,
LocalArtifactRepository localArtifactRepo,
LocalMetadataRepository localMetadataRepo,
TargetDefinitionResolverService targetDefinitionResolverService) |
Modifier and Type | Method and 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.
|
public TargetPlatformFactoryImpl(MavenContext mavenContext, org.eclipse.equinox.p2.core.IProvisioningAgent remoteAgent, LocalArtifactRepository localArtifactRepo, LocalMetadataRepository localMetadataRepo, TargetDefinitionResolverService targetDefinitionResolverService)
public PomDependencyCollector newPomDependencyCollector()
TargetPlatformFactory
newPomDependencyCollector
in interface TargetPlatformFactory
public P2TargetPlatform createTargetPlatform(TargetPlatformConfigurationStub tpConfiguration, ExecutionEnvironmentConfiguration eeConfiguration, List<ReactorProject> reactorProjects, PomDependencyCollector pomDependencies)
createTargetPlatform
in interface TargetPlatformFactory
public P2TargetPlatform createTargetPlatform(TargetPlatformConfigurationStub tpConfiguration, ExecutionEnvironmentResolutionHandler eeResolutionHandler, List<ReactorProject> reactorProjects, PomDependencyCollector pomDependencies)
Used as entry point for tests, which can provide the execution environment configuration via
the more low-level type ExecutionEnvironmentResolutionHandler
.
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 be null
pomDependencies
- may be null
createTargetPlatform(TargetPlatformConfigurationStub,
ExecutionEnvironmentConfiguration, List, PomDependencyCollector)
public P2TargetPlatform createTargetPlatformWithUpdatedReactorContent(TargetPlatform baseTargetPlatform, List<PublishingRepository> upstreamProjectResults)
Copyright © 2008–2021 Eclipse Foundation. All rights reserved.