Eclipse Platform
Release 3.6

org.eclipse.equinox.p2.metadata.query
Class CategoryQuery

java.lang.Object
  extended by org.eclipse.equinox.p2.metadata.query.ExpressionQuery<IInstallableUnit>
      extended by org.eclipse.equinox.p2.metadata.query.CategoryQuery
All Implemented Interfaces:
org.eclipse.equinox.p2.metadata.index.IQueryWithIndex<IInstallableUnit>, IMatchQuery<IInstallableUnit>, IQuery<IInstallableUnit>

public final class CategoryQuery
extends ExpressionQuery<IInstallableUnit>

A query matching every IInstallableUnit that is a category.

Since:
2.0

Constructor Summary
CategoryQuery()
           
 
Method Summary
static boolean isCategory(IInstallableUnit iu)
          Test if the IInstallableUnit is a category.
 
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
 

Constructor Detail

CategoryQuery

public CategoryQuery()
Method Detail

isCategory

public static boolean isCategory(IInstallableUnit iu)
Test if the IInstallableUnit is a category.

Parameters:
iu - the element being tested.
Returns:
true if the parameter is a category.

Eclipse Platform
Release 3.6

Guidelines for using Eclipse APIs.

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