org.eclipse.equinox.p2.engine.query
Class IUProfilePropertyQuery
java.lang.Object
org.eclipse.equinox.p2.metadata.query.ExpressionQuery<IInstallableUnit>
org.eclipse.equinox.p2.engine.query.IUProfilePropertyQuery
- All Implemented Interfaces:
- org.eclipse.equinox.p2.metadata.index.IQueryWithIndex<IInstallableUnit>, IMatchQuery<IInstallableUnit>, IQuery<IInstallableUnit>
- Direct Known Subclasses:
- UserVisibleRootQuery
public class IUProfilePropertyQuery
- extends ExpressionQuery<IInstallableUnit>
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
Methods inherited from class org.eclipse.equinox.p2.metadata.query.ExpressionQuery |
getContext, getExpression, getMatchingClass, isMatch, matchAll, matchNothing, perform, perform, postPerform, prePerform, setIndexProvider |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ANY
public static final String ANY
- See Also:
- Constant Field Values
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 of "*" means any value.
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.