Package org.eclipse.tycho.p2.target
Class TargetPlatformFactoryImpl
java.lang.Object
org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl
- All Implemented Interfaces:
TargetPlatformFactory
-
Constructor Summary
ConstructorsConstructorDescriptionTargetPlatformFactoryImpl(MavenContext mavenContext, org.eclipse.equinox.p2.core.IProvisioningAgent remoteAgent, LocalArtifactRepository localArtifactRepo, LocalMetadataRepository localMetadataRepo, TargetDefinitionResolverService targetDefinitionResolverService) -
Method Summary
Modifier and TypeMethodDescriptioncreateTargetPlatform(TargetPlatformConfigurationStub tpConfiguration, ExecutionEnvironmentConfiguration eeConfiguration, List<ReactorProject> reactorProjects) createTargetPlatform(TargetPlatformConfigurationStub tpConfiguration, ExecutionEnvironmentResolutionHandler eeResolutionHandler, List<ReactorProject> reactorProjects) Computes the target platform from the given configuration and content.createTargetPlatformWithUpdatedReactorContent(TargetPlatform baseTargetPlatform, List<?> upstreamProjectResults, PomDependencyCollector pomDependencies) protected Collection<? extends org.eclipse.equinox.p2.metadata.IInstallableUnit>filterUnits(TargetPlatformFilterEvaluator configuredFilters, Collection<? extends org.eclipse.equinox.p2.metadata.IInstallableUnit> units)
-
Constructor Details
-
Method Details
-
createTargetPlatform
public P2TargetPlatform createTargetPlatform(TargetPlatformConfigurationStub tpConfiguration, ExecutionEnvironmentResolutionHandler eeResolutionHandler, List<ReactorProject> reactorProjects) 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<?> upstreamProjectResults, PomDependencyCollector pomDependencies) - Specified by:
createTargetPlatformWithUpdatedReactorContentin interfaceTargetPlatformFactory
-
filterUnits
protected Collection<? extends org.eclipse.equinox.p2.metadata.IInstallableUnit> filterUnits(TargetPlatformFilterEvaluator configuredFilters, Collection<? extends org.eclipse.equinox.p2.metadata.IInstallableUnit> units)