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() |
public TargetPlatformFactoryImpl(MavenContext mavenContext, org.eclipse.equinox.p2.core.IProvisioningAgent remoteAgent, LocalArtifactRepository localArtifactRepo, LocalMetadataRepository localMetadataRepo, TargetDefinitionResolverService targetDefinitionResolverService)
public PomDependencyCollector newPomDependencyCollector()
newPomDependencyCollector in interface TargetPlatformFactorypublic P2TargetPlatform createTargetPlatform(TargetPlatformConfigurationStub tpConfiguration, ExecutionEnvironmentConfiguration eeConfiguration, List<ReactorProject> reactorProjects, PomDependencyCollector pomDependencies)
createTargetPlatform in interface TargetPlatformFactorypublic 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 nullpomDependencies - may be nullcreateTargetPlatform(TargetPlatformConfigurationStub,
ExecutionEnvironmentConfiguration, List, PomDependencyCollector)public P2TargetPlatform createTargetPlatformWithUpdatedReactorContent(TargetPlatform baseTargetPlatform, List<PublishingRepository> upstreamProjectResults)
Copyright © 2008-2014 Eclipse Foundation. All Rights Reserved.