Eclipse Platform
Release 3.6

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

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

public final class PatchQuery
extends ExpressionQuery<IInstallableUnit>

A query matching every IInstallableUnit that is a patch.

Since:
2.0

Constructor Summary
PatchQuery()
           
 
Method Summary
static boolean isPatch(IInstallableUnit iu)
          Test if the IInstallableUnit is a patch.
 
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

PatchQuery

public PatchQuery()
Method Detail

isPatch

public static boolean isPatch(IInstallableUnit iu)
Test if the IInstallableUnit is a patch.

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

Eclipse Platform
Release 3.6

Guidelines for using Eclipse APIs.

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