public class AllKnownEEsResolutionHints extends java.lang.Object implements ExecutionEnvironmentResolutionHints
| Modifier and Type | Field and Description |
|---|---|
private java.util.Map<org.eclipse.equinox.p2.metadata.VersionedId,org.eclipse.equinox.p2.metadata.IInstallableUnit> |
temporaryUnits |
| Constructor and Description |
|---|
AllKnownEEsResolutionHints() |
| Modifier and Type | Method and Description |
|---|---|
private static java.util.List<java.lang.String> |
getAllKnownExecutionEnvironments() |
java.util.Collection<org.eclipse.equinox.p2.metadata.IRequirement> |
getMandatoryRequires()
Returns requirements to execution environment units to ensure that a) the execution
environment units are available, and b) the units are used to the resolution result.
|
java.util.Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> |
getMandatoryUnits()
Returns the list of installable units that shall be used during resolution.
|
java.util.Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> |
getTemporaryAdditions()
Returns the list of installable units that shall be temporarily added to the list of
installable units, i.e.
|
boolean |
isEESpecificationUnit(org.eclipse.equinox.p2.metadata.IInstallableUnit unit)
Returns
true for the "a.jre" installable unit that contains the specification of
the execution environment. |
boolean |
isNonApplicableEEUnit(org.eclipse.equinox.p2.metadata.IInstallableUnit iu)
Returns
true if an installable unit shall be removed from the available IUs. |
private static java.util.Properties |
readProperties(java.net.URL url) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequals, hashCodeprivate final java.util.Map<org.eclipse.equinox.p2.metadata.VersionedId,org.eclipse.equinox.p2.metadata.IInstallableUnit> temporaryUnits
public java.util.Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> getMandatoryUnits()
ExecutionEnvironmentResolutionHintsgetMandatoryUnits in interface ExecutionEnvironmentResolutionHintspublic boolean isNonApplicableEEUnit(org.eclipse.equinox.p2.metadata.IInstallableUnit iu)
ExecutionEnvironmentResolutionHintstrue if an installable unit shall be removed from the available IUs.
This prevents that "a.jre" IUs for the wrong execution environment are used for resolution.isNonApplicableEEUnit in interface ExecutionEnvironmentResolutionHintspublic boolean isEESpecificationUnit(org.eclipse.equinox.p2.metadata.IInstallableUnit unit)
ExecutionEnvironmentResolutionHintstrue 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.isEESpecificationUnit in interface ExecutionEnvironmentResolutionHintspublic java.util.Collection<org.eclipse.equinox.p2.metadata.IRequirement> getMandatoryRequires()
ExecutionEnvironmentResolutionHintsgetMandatoryRequires in interface ExecutionEnvironmentResolutionHintspublic java.util.Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> getTemporaryAdditions()
ExecutionEnvironmentResolutionHintsgetTemporaryAdditions in interface ExecutionEnvironmentResolutionHintsprivate static java.util.List<java.lang.String> getAllKnownExecutionEnvironments()
private static java.util.Properties readProperties(java.net.URL url)