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
public class IUProfilePropertyQuery extends ExpressionMatchQuery<IInstallableUnit>
A query that searches forIInstallableUnit
instances that have a property associated with the specified profile, whose value matches the provided value.- Since:
- 2.0
-
-
Constructor Summary
Constructors Constructor Description IUProfilePropertyQuery(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 Detail
-
ANY
public static final String ANY
A property value constant that will match any defined property value.
-
-
Constructor Detail
-
IUProfilePropertyQuery
public IUProfilePropertyQuery(String propertyName, String propertyValue)
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.
-
-