Package org.eclipse.equinox.p2.planner
Class ProfileInclusionRules
java.lang.Object
org.eclipse.equinox.p2.planner.ProfileInclusionRules
Helper method to decide on the way the installable units are being included.
- Since:
- 2.0
- Restriction:
- This class is not intended to be subclassed by clients.
- Restriction:
- This class is not intended to be instantiated by clients.
- 
Method Details- 
createStrictInclusionRuleReturns 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.- Parameters:
- iu- the installable unit to be installed.
- Returns:
- an opaque token to be passed to the IProfileChangeRequest.setInstallableUnitInclusionRules(IInstallableUnit, String)
 
- 
createOptionalInclusionRuleReturns an inclusion rule to optionally install the given installable unit. An optionally installed installable unit will automatically be removed from the profile if any of its dependencies become unsatisfied.- Parameters:
- iu- the installable unit to be installed.
- Returns:
- an opaque token to be passed to the IProfileChangeRequest.setInstallableUnitInclusionRules(IInstallableUnit, String)
 
 
-