Eclipse Platform
Release 3.6

org.eclipse.equinox.p2.touchpoint.eclipse.query
Class OSGiBundleQuery

java.lang.Object
  extended by org.eclipse.equinox.p2.query.ExpressionMatchQuery<IInstallableUnit>
      extended by 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 Summary
OSGiBundleQuery()
           
 
Method Summary
static boolean isOSGiBundle(IInstallableUnit iu)
          Test if the IInstallableUnit describes an OSGi bundle.
 
Methods inherited from class org.eclipse.equinox.p2.query.ExpressionMatchQuery
getContext, getExpression, getMatchingClass, isMatch, perform, perform, postPerform, prePerform, setIndexProvider
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OSGiBundleQuery

public OSGiBundleQuery()
Method Detail

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.

Eclipse Platform
Release 3.6

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.