public class FinalTargetPlatformImpl extends Object
| Modifier and Type | Field and Description |
|---|---|
protected LinkedHashSet<org.eclipse.equinox.p2.metadata.IInstallableUnit> |
installableUnits
All installable units contained in the target platform.
|
FINAL_TARGET_PLATFORM_KEY| Constructor and Description |
|---|
FinalTargetPlatformImpl(LinkedHashSet<org.eclipse.equinox.p2.metadata.IInstallableUnit> installableUnits,
ExecutionEnvironmentResolutionHints executionEnvironment,
IRawArtifactFileProvider jointArtifacts,
LocalArtifactRepository localArtifactRepository,
Map<org.eclipse.equinox.p2.metadata.IInstallableUnit,IArtifactFacade> mavenArtifactLookup,
Map<org.eclipse.equinox.p2.metadata.IInstallableUnit,ReactorProjectIdentities> reactorProjectLookup) |
| Modifier and Type | Method and Description |
|---|---|
File |
getArtifactLocation(ArtifactKey artifact) |
ExecutionEnvironmentResolutionHints |
getEEResolutionHints()
Returns additional information for resolving against the configured execution environment.
|
Set<org.eclipse.equinox.p2.metadata.IInstallableUnit> |
getInstallableUnits() |
org.eclipse.equinox.p2.repository.metadata.IMetadataRepository |
getInstallableUnitsAsMetadataRepository()
Returns the target platform content as (immutable) p2 metadata repository.
|
File |
getLocalArtifactFile(org.eclipse.equinox.p2.metadata.IArtifactKey key) |
Map<org.eclipse.equinox.p2.metadata.IInstallableUnit,IArtifactFacade> |
getOriginalMavenArtifactMap()
Returns the map from target platform installable units back to the contributing Maven
artifacts.
|
Map<org.eclipse.equinox.p2.metadata.IInstallableUnit,ReactorProjectIdentities> |
getOriginalReactorProjectMap()
Returns the map from target platform installable units back to the contributing reactor
project.
|
void |
reportUsedLocalIUs(Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> usedUnits) |
ArtifactKey |
resolveArtifact(String type,
String id,
String version) |
org.eclipse.equinox.p2.metadata.IInstallableUnit |
resolveUnit(String type,
String id,
org.eclipse.equinox.p2.metadata.Version version)
Same as
TargetPlatform.resolveArtifact(String, String, String) but returning the result as
IInstallableUnit. |
void |
saveLocalMavenRepository() |
protected final LinkedHashSet<org.eclipse.equinox.p2.metadata.IInstallableUnit> installableUnits
public FinalTargetPlatformImpl(LinkedHashSet<org.eclipse.equinox.p2.metadata.IInstallableUnit> installableUnits, ExecutionEnvironmentResolutionHints executionEnvironment, IRawArtifactFileProvider jointArtifacts, LocalArtifactRepository localArtifactRepository, Map<org.eclipse.equinox.p2.metadata.IInstallableUnit,IArtifactFacade> mavenArtifactLookup, Map<org.eclipse.equinox.p2.metadata.IInstallableUnit,ReactorProjectIdentities> reactorProjectLookup)
public void reportUsedLocalIUs(Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> usedUnits)
public org.eclipse.equinox.p2.repository.metadata.IMetadataRepository getInstallableUnitsAsMetadataRepository()
P2TargetPlatformpublic File getArtifactLocation(ArtifactKey artifact)
public final Set<org.eclipse.equinox.p2.metadata.IInstallableUnit> getInstallableUnits()
getInstallableUnits in interface P2TargetPlatformpublic final ArtifactKey resolveArtifact(String type, String id, String version) throws IllegalArtifactReferenceException, DependencyResolutionException
resolveArtifact in interface TargetPlatformIllegalArtifactReferenceExceptionDependencyResolutionExceptionpublic final org.eclipse.equinox.p2.metadata.IInstallableUnit resolveUnit(String type, String id, org.eclipse.equinox.p2.metadata.Version version) throws IllegalArtifactReferenceException, DependencyResolutionException
P2TargetPlatformTargetPlatform.resolveArtifact(String, String, String) but returning the result as
IInstallableUnit.
Note: "artifact" in "resolveArtifact" refers to a Tycho artifact, which technically represent
a p2 installable unit and optionally the associated p2 artifact.resolveUnit in interface P2TargetPlatformIllegalArtifactReferenceExceptionDependencyResolutionExceptionpublic final ExecutionEnvironmentResolutionHints getEEResolutionHints()
P2TargetPlatformgetEEResolutionHints in interface P2TargetPlatformpublic final Map<org.eclipse.equinox.p2.metadata.IInstallableUnit,ReactorProjectIdentities> getOriginalReactorProjectMap()
P2TargetPlatformNote: The map may contain additional installable units as keys, i.e. not all keys are necessarily part of the target platform.
getOriginalReactorProjectMap in interface P2TargetPlatformpublic final Map<org.eclipse.equinox.p2.metadata.IInstallableUnit,IArtifactFacade> getOriginalMavenArtifactMap()
P2TargetPlatformNote: The map may contain additional installable units as keys, i.e. not all keys are necessarily part of the target platform.
getOriginalMavenArtifactMap in interface P2TargetPlatformpublic final File getLocalArtifactFile(org.eclipse.equinox.p2.metadata.IArtifactKey key)
getLocalArtifactFile in interface P2TargetPlatformpublic final void saveLocalMavenRepository()
saveLocalMavenRepository in interface P2TargetPlatformCopyright © 2008-2015 Eclipse Foundation. All Rights Reserved.