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.
|
public TargetPlatformFactoryImpl(MavenContext mavenContext, org.eclipse.equinox.p2.core.IProvisioningAgent remoteAgent, LocalArtifactRepository localArtifactRepo, LocalMetadataRepository localMetadataRepo, TargetDefinitionResolverService targetDefinitionResolverService)
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)
Copyright © 2008–2014 Eclipse Foundation. All rights reserved.