Class ProfileInclusionRules

  • public class ProfileInclusionRules
    extends Object
    Helper method to decide on the way the installable units are being included.
    This class is not intended to be subclassed by clients.
    This class is not intended to be instantiated by clients.
    • Method Detail

      • createStrictInclusionRule

        public static String createStrictInclusionRule​(IInstallableUnit iu)
        Returns an inclusion rule to strictly install the given installable unit. Strictly installed installable units will never be uninstalled in order to satisfy a later profile change request. That is, when there is a dependency conflict between a strictly installed unit and a non-strict unit, the strictly installed installable unit will take precedence.
        iu - the installable unit to be installed.
        an opaque token to be passed to the IProfileChangeRequest.setInstallableUnitInclusionRules(IInstallableUnit, String)