Class OSGiBundleQuery

java.lang.Object
org.eclipse.equinox.p2.query.ExpressionMatchQuery<IInstallableUnit>
org.eclipse.equinox.p2.touchpoint.eclipse.query.OSGiBundleQuery
All Implemented Interfaces:
IQueryWithIndex<IInstallableUnit>, IMatchQuery<IInstallableUnit>, IQuery<IInstallableUnit>

public final class OSGiBundleQuery extends ExpressionMatchQuery<IInstallableUnit>
A query matching every IInstallableUnit that describes an OSGi bundle.
Since:
2.0
  • Constructor Details

    • OSGiBundleQuery

      public OSGiBundleQuery()
  • Method Details

    • isOSGiBundle

      public static boolean isOSGiBundle(IInstallableUnit iu)
      Test if the IInstallableUnit describes an OSGi bundle.
      Parameters:
      iu - the element being tested.
      Returns:
      true if the parameter describes an OSGi bundle.