Package org.eclipse.tycho.p2.target
Class PreliminaryTargetPlatformImpl
- java.lang.Object
-
- org.eclipse.tycho.p2.target.TargetPlatformBaseImpl
-
- org.eclipse.tycho.p2.target.PreliminaryTargetPlatformImpl
-
- All Implemented Interfaces:
TargetPlatform
,P2TargetPlatform
public class PreliminaryTargetPlatformImpl extends TargetPlatformBaseImpl
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit>
externalIUs
IInstallableUnits available from reactor-external sources, i.e.private TargetPlatformFilterEvaluator
filter
Reactor project IU filter.private boolean
includeLocalRepo
private LocalMetadataRepository
localMetadataRepository
private MavenLogger
logger
-
Fields inherited from class org.eclipse.tycho.p2.target.TargetPlatformBaseImpl
artifacts, executionEnvironment, installableUnits, mavenArtifactLookup
-
Fields inherited from interface org.eclipse.tycho.artifacts.TargetPlatform
FINAL_TARGET_PLATFORM_KEY
-
-
Constructor Summary
Constructors Constructor Description PreliminaryTargetPlatformImpl(java.util.Map<org.eclipse.equinox.p2.metadata.IInstallableUnit,ReactorProjectIdentities> reactorProjectIUs, java.util.Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> externalIUs, java.util.Map<org.eclipse.equinox.p2.metadata.IInstallableUnit,IArtifactFacade> mavenArtifactIUs, ExecutionEnvironmentResolutionHints executionEnvironment, TargetPlatformFilterEvaluator filter, LocalMetadataRepository localMetadataRepository, IRawArtifactFileProvider externalArtifacts, LocalArtifactRepository localArtifactRepository, boolean includeLocalRepo, MavenLogger logger)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.LinkedHashSet<org.eclipse.equinox.p2.metadata.IInstallableUnit>
collectAllInstallableUnits(java.util.Map<org.eclipse.equinox.p2.metadata.IInstallableUnit,ReactorProjectIdentities> reactorProjectIUs, java.util.Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> externalIUs, ExecutionEnvironmentResolutionHints executionEnvironment)
IRawArtifactFileProvider
getExternalArtifacts()
java.util.LinkedHashSet<org.eclipse.equinox.p2.metadata.IInstallableUnit>
getExternalUnits()
TargetPlatformFilterEvaluator
getFilter()
org.eclipse.equinox.p2.repository.metadata.IMetadataRepository
getInstallableUnitsAsMetadataRepository()
Returns the target platform content as (immutable) p2 metadata repository.void
reportUsedLocalIUs(java.util.Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> usedUnits)
-
Methods inherited from class org.eclipse.tycho.p2.target.TargetPlatformBaseImpl
getArtifactLocation, getEEResolutionHints, getInstallableUnits, getLocalArtifactFile, getOriginalMavenArtifactMap, getOriginalReactorProjectMap, isFileAlreadyAvailable, resolveArtifact, resolveUnit, saveLocalMavenRepository
-
-
-
-
Field Detail
-
externalIUs
private final java.util.Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> externalIUs
IInstallableUnits available from reactor-external sources, i.e. POM p2 repositories, target files, POM dependencies, and the local Maven repository
-
localMetadataRepository
private final LocalMetadataRepository localMetadataRepository
-
logger
private final MavenLogger logger
-
filter
private final TargetPlatformFilterEvaluator filter
Reactor project IU filter. Non-reactor IUs are pre-filtered for performance reasons
-
includeLocalRepo
private final boolean includeLocalRepo
-
-
Constructor Detail
-
PreliminaryTargetPlatformImpl
public PreliminaryTargetPlatformImpl(java.util.Map<org.eclipse.equinox.p2.metadata.IInstallableUnit,ReactorProjectIdentities> reactorProjectIUs, java.util.Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> externalIUs, java.util.Map<org.eclipse.equinox.p2.metadata.IInstallableUnit,IArtifactFacade> mavenArtifactIUs, ExecutionEnvironmentResolutionHints executionEnvironment, TargetPlatformFilterEvaluator filter, LocalMetadataRepository localMetadataRepository, IRawArtifactFileProvider externalArtifacts, LocalArtifactRepository localArtifactRepository, boolean includeLocalRepo, MavenLogger logger)
-
-
Method Detail
-
collectAllInstallableUnits
public static java.util.LinkedHashSet<org.eclipse.equinox.p2.metadata.IInstallableUnit> collectAllInstallableUnits(java.util.Map<org.eclipse.equinox.p2.metadata.IInstallableUnit,ReactorProjectIdentities> reactorProjectIUs, java.util.Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> externalIUs, ExecutionEnvironmentResolutionHints executionEnvironment)
-
reportUsedLocalIUs
public void reportUsedLocalIUs(java.util.Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> usedUnits)
-
getExternalUnits
public java.util.LinkedHashSet<org.eclipse.equinox.p2.metadata.IInstallableUnit> getExternalUnits()
-
getFilter
public TargetPlatformFilterEvaluator getFilter()
-
getExternalArtifacts
public IRawArtifactFileProvider getExternalArtifacts()
-
getInstallableUnitsAsMetadataRepository
public org.eclipse.equinox.p2.repository.metadata.IMetadataRepository getInstallableUnitsAsMetadataRepository()
Description copied from interface:P2TargetPlatform
Returns the target platform content as (immutable) p2 metadata repository.
-
-