public final class StandardEEResolutionHints extends Object implements ExecutionEnvironmentResolutionHints
Constructor and Description |
---|
StandardEEResolutionHints(String executionEnvironment) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
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.
|
Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> |
getMandatoryUnits()
Returns the list of installable units that shall be used during resolution.
|
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. they shall be available during resolution but must be removed from
the resolution result.
|
int |
hashCode() |
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)
p2 repositories are polluted with useless a.jre/config.a.jre IUs.
|
public StandardEEResolutionHints(String executionEnvironment)
public boolean isNonApplicableEEUnit(org.eclipse.equinox.p2.metadata.IInstallableUnit iu)
isNonApplicableEEUnit
in interface ExecutionEnvironmentResolutionHints
public boolean isEESpecificationUnit(org.eclipse.equinox.p2.metadata.IInstallableUnit unit)
ExecutionEnvironmentResolutionHints
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.isEESpecificationUnit
in interface ExecutionEnvironmentResolutionHints
public Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> getMandatoryUnits()
ExecutionEnvironmentResolutionHints
getMandatoryUnits
in interface ExecutionEnvironmentResolutionHints
public Collection<org.eclipse.equinox.p2.metadata.IRequirement> getMandatoryRequires()
ExecutionEnvironmentResolutionHints
getMandatoryRequires
in interface ExecutionEnvironmentResolutionHints
public Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> getTemporaryAdditions()
ExecutionEnvironmentResolutionHints
getTemporaryAdditions
in interface ExecutionEnvironmentResolutionHints
public int hashCode()
hashCode
in interface ExecutionEnvironmentResolutionHints
hashCode
in class Object
public boolean equals(Object obj)
equals
in interface ExecutionEnvironmentResolutionHints
equals
in class Object
Copyright © 2008–2020 Eclipse Foundation. All rights reserved.