public interface P2TargetPlatform extends TargetPlatform
TargetPlatform
interface by methods which depend on p2.FINAL_TARGET_PLATFORM_KEY
Modifier and Type | Method and Description |
---|---|
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) |
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() |
getArtifactLocation, resolveArtifact
Set<org.eclipse.equinox.p2.metadata.IInstallableUnit> getInstallableUnits()
org.eclipse.equinox.p2.repository.metadata.IMetadataRepository getInstallableUnitsAsMetadataRepository()
ExecutionEnvironmentResolutionHints getEEResolutionHints()
void reportUsedLocalIUs(Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> usedUnits)
File getLocalArtifactFile(org.eclipse.equinox.p2.metadata.IArtifactKey key)
Map<org.eclipse.equinox.p2.metadata.IInstallableUnit,ReactorProjectIdentities> getOriginalReactorProjectMap()
Note: The map may contain additional installable units as keys, i.e. not all keys are necessarily part of the target platform.
Map<org.eclipse.equinox.p2.metadata.IInstallableUnit,IArtifactFacade> getOriginalMavenArtifactMap()
Note: The map may contain additional installable units as keys, i.e. not all keys are necessarily part of the target platform.
void saveLocalMavenRepository()
org.eclipse.equinox.p2.metadata.IInstallableUnit resolveUnit(String type, String id, org.eclipse.equinox.p2.metadata.Version version) throws IllegalArtifactReferenceException, DependencyResolutionException
TargetPlatform.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.Copyright © 2008–2019 Eclipse Foundation. All rights reserved.