On 10/13/2016 05:33 PM, Alena Laskavaia wrote:
Not sure what you asking. To create IRequirement through API
boolean optional = ...;
IRequirement requirement = MetadataFactory.createRequirement(namespace, id, p2versionRange, filter, optional ? 0 : 1, 1, greedy);
Thanks a lot! So, optional == (min == 0).

Mickael Istria
Eclipse developer for Red Hat Developers <http://developers.redhat.com>
My blog <http://mickaelistria.wordpress.com> - My Tweets <http://twitter.com/mickaelistria>
p2-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit

Reply via email to