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 for IInstallableUnit instances that have a property associated with the specified profile, whose value matches the provided value.
Since:
2.0
  • Field Details

  • Constructor Details

    • 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 match
      propertyValue - The value to compare to. A value of ANY will match any value.