Package org.eclipse.tycho.targetplatform
Interface P2TargetPlatform
- All Superinterfaces:
TargetPlatform
Extension of the
TargetPlatform interface by methods which depend on p2.-
Field Summary
Fields inherited from interface org.eclipse.tycho.TargetPlatform
FINAL_TARGET_PLATFORM_KEY, PRELIMINARY_TARGET_PLATFORM_KEY -
Method Summary
Modifier and TypeMethodDescriptionReturns additional information for resolving against the configured execution environment.Set<org.eclipse.equinox.p2.metadata.IInstallableUnit> getLocalArtifactFile(org.eclipse.equinox.p2.metadata.IArtifactKey key) Map<org.eclipse.equinox.p2.metadata.IInstallableUnit, IArtifactFacade> Returns the map from target platform installable units back to the contributing Maven artifacts.Map<org.eclipse.equinox.p2.metadata.IInstallableUnit, ReactorProjectIdentities> Returns the map from target platform installable units back to the contributing reactor project.voidreportUsedLocalIUs(Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> usedUnits) org.eclipse.equinox.p2.metadata.IInstallableUnitresolveUnit(String type, String id, org.eclipse.equinox.p2.metadata.Version version) Same asTargetPlatform.resolveArtifact(String, String, String)but returning the result asIInstallableUnit.org.eclipse.equinox.p2.metadata.IInstallableUnitresolveUnit(String type, String id, org.eclipse.equinox.p2.metadata.VersionRange versionRange) voidMethods inherited from interface org.eclipse.tycho.TargetPlatform
getArtifactLocation, getArtifactRepository, getMetadataRepository, isFileAlreadyAvailable, resolveArtifact, resolvePackage
-
Method Details
-
getInstallableUnits
Set<org.eclipse.equinox.p2.metadata.IInstallableUnit> getInstallableUnits() -
getEEResolutionHints
ExecutionEnvironmentResolutionHints getEEResolutionHints()Returns additional information for resolving against the configured execution environment. -
reportUsedLocalIUs
-
getLocalArtifactFile
-
getOriginalReactorProjectMap
Map<org.eclipse.equinox.p2.metadata.IInstallableUnit,ReactorProjectIdentities> getOriginalReactorProjectMap()Returns the map from target platform installable units back to the contributing reactor project.Note: The map may contain additional installable units as keys, i.e. not all keys are necessarily part of the target platform.
-
getOriginalMavenArtifactMap
Map<org.eclipse.equinox.p2.metadata.IInstallableUnit,IArtifactFacade> getOriginalMavenArtifactMap()Returns the map from target platform installable units back to the contributing Maven artifacts.Note: The map may contain additional installable units as keys, i.e. not all keys are necessarily part of the target platform.
-
saveLocalMavenRepository
void saveLocalMavenRepository() -
resolveUnit
org.eclipse.equinox.p2.metadata.IInstallableUnit resolveUnit(String type, String id, org.eclipse.equinox.p2.metadata.Version version) throws IllegalArtifactReferenceException, DependencyResolutionException Same asTargetPlatform.resolveArtifact(String, String, String)but returning the result asIInstallableUnit. Note: "artifact" in "resolveArtifact" refers to a Tycho artifact, which technically represent a p2 installable unit and optionally the associated p2 artifact. -
resolveUnit
org.eclipse.equinox.p2.metadata.IInstallableUnit resolveUnit(String type, String id, org.eclipse.equinox.p2.metadata.VersionRange versionRange) throws IllegalArtifactReferenceException, DependencyResolutionException
-