public class FinalTargetPlatformImpl extends TargetPlatformBaseImpl
artifacts, executionEnvironment, installableUnits, mavenArtifactLookup
FINAL_TARGET_PLATFORM_KEY
Constructor and Description |
---|
FinalTargetPlatformImpl(java.util.LinkedHashSet<org.eclipse.equinox.p2.metadata.IInstallableUnit> installableUnits,
ExecutionEnvironmentResolutionHints executionEnvironment,
IRawArtifactFileProvider jointArtifacts,
LocalArtifactRepository localArtifactRepository,
java.util.Map<org.eclipse.equinox.p2.metadata.IInstallableUnit,IArtifactFacade> mavenArtifactLookup,
java.util.Map<org.eclipse.equinox.p2.metadata.IInstallableUnit,ReactorProjectIdentities> reactorProjectLookup) |
Modifier and Type | Method and Description |
---|---|
java.io.File |
getArtifactLocation(ArtifactKey artifact)
Returns the file system location of the given target platform artifact.
|
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) |
getEEResolutionHints, getInstallableUnits, getLocalArtifactFile, getOriginalMavenArtifactMap, getOriginalReactorProjectMap, resolveArtifact, resolveUnit, saveLocalMavenRepository
public FinalTargetPlatformImpl(java.util.LinkedHashSet<org.eclipse.equinox.p2.metadata.IInstallableUnit> installableUnits, ExecutionEnvironmentResolutionHints executionEnvironment, IRawArtifactFileProvider jointArtifacts, LocalArtifactRepository localArtifactRepository, java.util.Map<org.eclipse.equinox.p2.metadata.IInstallableUnit,IArtifactFacade> mavenArtifactLookup, java.util.Map<org.eclipse.equinox.p2.metadata.IInstallableUnit,ReactorProjectIdentities> reactorProjectLookup)
public void reportUsedLocalIUs(java.util.Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> usedUnits)
public org.eclipse.equinox.p2.repository.metadata.IMetadataRepository getInstallableUnitsAsMetadataRepository()
P2TargetPlatform
public java.io.File getArtifactLocation(ArtifactKey artifact)
TargetPlatform
null
if the artifact does not
exist in the target platform, or if the given ArtifactKey refers to an
metadata-only "artifact" e.g. a product definition.