Package org.eclipse.tycho.p2.target
Class FinalTargetPlatformImpl
- java.lang.Object
-
- org.eclipse.tycho.p2.target.TargetPlatformBaseImpl
-
- org.eclipse.tycho.p2.target.FinalTargetPlatformImpl
-
- All Implemented Interfaces:
TargetPlatform
,P2TargetPlatform
public class FinalTargetPlatformImpl extends TargetPlatformBaseImpl
-
-
Field Summary
-
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 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class org.eclipse.tycho.p2.target.TargetPlatformBaseImpl
getEEResolutionHints, getInstallableUnits, getLocalArtifactFile, getOriginalMavenArtifactMap, getOriginalReactorProjectMap, resolveArtifact, resolveUnit, saveLocalMavenRepository
-
-
-
-
Constructor Detail
-
FinalTargetPlatformImpl
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)
-
-
Method Detail
-
reportUsedLocalIUs
public void reportUsedLocalIUs(java.util.Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> usedUnits)
-
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.
-
getArtifactLocation
public java.io.File getArtifactLocation(ArtifactKey artifact)
Description copied from interface:TargetPlatform
Returns the file system location of the given target platform artifact. Not supported by the preliminary target platform.- Returns:
- the location of the given artifact, or
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.
-
-