| Interface and Description |
|---|
| org.eclipse.equinox.p2.query.IMatchQuery
If possible, use one of the predefined queries in
QueryUtil or
use the QueryUtil.createMatchQuery(String, Object...)
to create a custom expression based query. If the query cannot be expressed using
the p2QL, then use a predefined or custom expression query as a first filter
(in worst case, use QueryUtil.createIUAnyQuery()) and then provide further filtering
like so:
for(iter = queryable.query(someExpressionQuery).iterator(); iter.hasNext();) {
// do your match here
} |
| Class and Description |
|---|
| org.eclipse.equinox.p2.query.MatchQuery
If possible, use one of the predefined queries in
QueryUtil
or use the QueryUtil.createMatchQuery(String, Object...)
to create a custom expression based query. If the query cannot be expressed using
the p2QL, then use a predefined or custom expression query as a first filter
(in worst case, use QueryUtil.createIUAnyQuery()) and then provide further filtering
like so:
for(iter = queryable.query(someExpressionQuery).iterator(); iter.hasNext();) {
// do your match here
} |
| Method and Description |
|---|
| org.eclipse.equinox.p2.metadata.MetadataFactory.InstallableUnitDescription.addRequiredCapabilities(Collection<IRequirement>)
Use addRequirements(additional) instead
|
| org.eclipse.equinox.p2.metadata.MetadataFactory.InstallableUnitDescription.getMetaRequiredCapabilities()
Use getMetaRequirements() instead
|
| org.eclipse.equinox.p2.metadata.MetadataFactory.InstallableUnitDescription.getRequiredCapabilities()
Use getRequirements() instead
|
| org.eclipse.equinox.p2.metadata.MetadataFactory.InstallableUnitDescription.setMetaRequiredCapabilities(IRequirement[])
Use setMetaRequirements(requirements) instead
|
| org.eclipse.equinox.p2.metadata.MetadataFactory.InstallableUnitDescription.setRequiredCapabilities(IRequirement[])
Use setRequirements(requirements) instead
|