org.eclipse.equinox.p2.metadata.query
Class FragmentQuery
java.lang.Object
org.eclipse.equinox.p2.metadata.query.ExpressionQuery<IInstallableUnit>
org.eclipse.equinox.p2.metadata.query.FragmentQuery
- All Implemented Interfaces:
- org.eclipse.equinox.p2.metadata.index.IQueryWithIndex<IInstallableUnit>, IMatchQuery<IInstallableUnit>, IQuery<IInstallableUnit>
public final class FragmentQuery
- extends ExpressionQuery<IInstallableUnit>
A query matching every IInstallableUnit
that is a category.
- 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 |
FragmentQuery
public FragmentQuery()
isFragment
public static boolean isFragment(IInstallableUnit iu)
- Test if the
IInstallableUnit
is a fragment.
- Parameters:
iu
- the element being tested.
- Returns:
- true if the parameter is a fragment.
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.