Class AllKnownEEsResolutionHints

    • Constructor Detail

      • AllKnownEEsResolutionHints

        public AllKnownEEsResolutionHints()
    • Method Detail

      • getMandatoryUnits

        public Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> getMandatoryUnits()
        Description copied from interface: ExecutionEnvironmentResolutionHints
        Returns the list of installable units that shall be used during resolution. These units are added to the available units so that requirements of the capabilities of the execution environment can be resolved, and their use during resolution is enforced so that other units providing the same capabilities are not used (unless they are needed for other reasons).
        Specified by:
        getMandatoryUnits in interface ExecutionEnvironmentResolutionHints
      • isEESpecificationUnit

        public boolean isEESpecificationUnit​(org.eclipse.equinox.p2.metadata.IInstallableUnit unit)
        Description copied from interface: ExecutionEnvironmentResolutionHints
        Returns true for the "a.jre" installable unit that contains the specification of the execution environment. This method is used for finding the specification unit of custom profiles.
        Specified by:
        isEESpecificationUnit in interface ExecutionEnvironmentResolutionHints