Class IUProfilePropertyQuery
java.lang.Object
org.eclipse.equinox.p2.query.ExpressionMatchQuery<IInstallableUnit>
org.eclipse.equinox.p2.engine.query.IUProfilePropertyQuery
- All Implemented Interfaces:
IQueryWithIndex<IInstallableUnit>
,IMatchQuery<IInstallableUnit>
,IQuery<IInstallableUnit>
- Direct Known Subclasses:
UserVisibleRootQuery
A query that searches for
IInstallableUnit
instances that have
a property associated with the specified profile, whose value matches the provided value.- Since:
- 2.0
-
Field Summary
-
Constructor Summary
ConstructorDescriptionIUProfilePropertyQuery
(String propertyName, String propertyValue) Creates a new query on the given property name and value. -
Method Summary
Methods inherited from class org.eclipse.equinox.p2.query.ExpressionMatchQuery
getContext, getExpression, getMatchingClass, isMatch, perform, perform, postPerform, prePerform, setIndexProvider
-
Field Details
-
ANY
A property value constant that will match any defined property value.
-
-
Constructor Details
-
IUProfilePropertyQuery
Creates a new query on the given property name and value. Because the queryable for this query is typically the profile instance, we use a reference to the profile rather than the profile id for performance reasons.- Parameters:
propertyName
- The name of the property to matchpropertyValue
- The value to compare to. A value ofANY
will match any value.
-