Class PreliminaryTargetPlatformImpl

    • Field Detail

      • externalIUs

        private final java.util.Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> externalIUs
        IInstallableUnits available from reactor-external sources, i.e. POM p2 repositories, target files, POM dependencies, and the local Maven repository
      • includeLocalRepo

        private final boolean includeLocalRepo
    • Method Detail

      • collectAllInstallableUnits

        public static java.util.LinkedHashSet<org.eclipse.equinox.p2.metadata.IInstallableUnit> collectAllInstallableUnits​(java.util.Map<org.eclipse.equinox.p2.metadata.IInstallableUnit,​ReactorProjectIdentities> reactorProjectIUs,
                                                                                                                           java.util.Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> externalIUs,
                                                                                                                           ExecutionEnvironmentResolutionHints executionEnvironment)
      • reportUsedLocalIUs

        public void reportUsedLocalIUs​(java.util.Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> usedUnits)
      • getExternalUnits

        public java.util.LinkedHashSet<org.eclipse.equinox.p2.metadata.IInstallableUnit> getExternalUnits()
      • 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.
      • 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.