Package org.eclipse.tycho.p2.target
Interface P2TargetPlatform
-
- All Superinterfaces:
TargetPlatform
- All Known Implementing Classes:
FinalTargetPlatformImpl
,PreliminaryTargetPlatformImpl
,TargetPlatformBaseImpl
public interface P2TargetPlatform extends TargetPlatform
Extension of theTargetPlatform
interface by methods which depend on p2.
-
-
Field Summary
-
Fields inherited from interface org.eclipse.tycho.artifacts.TargetPlatform
FINAL_TARGET_PLATFORM_KEY
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExecutionEnvironmentResolutionHints
getEEResolutionHints()
Returns additional information for resolving against the configured execution environment.java.util.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.java.io.File
getLocalArtifactFile(org.eclipse.equinox.p2.metadata.IArtifactKey key)
java.util.Map<org.eclipse.equinox.p2.metadata.IInstallableUnit,IArtifactFacade>
getOriginalMavenArtifactMap()
Returns the map from target platform installable units back to the contributing Maven artifacts.java.util.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(java.util.Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> usedUnits)
org.eclipse.equinox.p2.metadata.IInstallableUnit
resolveUnit(java.lang.String type, java.lang.String id, org.eclipse.equinox.p2.metadata.Version version)
Same asTargetPlatform.resolveArtifact(String, String, String)
but returning the result asIInstallableUnit
.void
saveLocalMavenRepository()
-
Methods inherited from interface org.eclipse.tycho.artifacts.TargetPlatform
getArtifactLocation, resolveArtifact
-
-
-
-
Method Detail
-
getInstallableUnits
java.util.Set<org.eclipse.equinox.p2.metadata.IInstallableUnit> getInstallableUnits()
-
getInstallableUnitsAsMetadataRepository
org.eclipse.equinox.p2.repository.metadata.IMetadataRepository getInstallableUnitsAsMetadataRepository()
Returns the target platform content as (immutable) p2 metadata repository.
-
getEEResolutionHints
ExecutionEnvironmentResolutionHints getEEResolutionHints()
Returns additional information for resolving against the configured execution environment.
-
reportUsedLocalIUs
void reportUsedLocalIUs(java.util.Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> usedUnits)
-
getLocalArtifactFile
java.io.File getLocalArtifactFile(org.eclipse.equinox.p2.metadata.IArtifactKey key)
-
getOriginalReactorProjectMap
java.util.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
java.util.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(java.lang.String type, java.lang.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.
-
-