use of org.eclipse.equinox.internal.p2.metadata.RequiredCapability in project tycho by eclipse.
the class MirrorApplicationServiceTest method strictRequirementTo.
private static Set<IRequirement> strictRequirementTo(VersionedId unit) {
VersionRange strictRange = new VersionRange(unit.getVersion(), true, unit.getVersion(), true);
IRequirement requirement = new RequiredCapability(IInstallableUnit.NAMESPACE_IU_ID, unit.getId(), strictRange, null, false, false);
return Collections.singleton(requirement);
}
Aggregations