|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.equinox.p2.metadata.query.ExpressionQuery<IInstallableUnit>
org.eclipse.equinox.p2.metadata.query.InstallableUnitQuery
public final class InstallableUnitQuery
A query that matches on the id and version of an IInstallableUnit
.
Field Summary | |
---|---|
static InstallableUnitQuery |
ANY
A convenience query that will match any IInstallableUnit
it encounters. |
Constructor Summary | |
---|---|
InstallableUnitQuery(IVersionedId versionedId)
Creates a query that will match any IInstallableUnit with the given
id and version. |
|
InstallableUnitQuery(String id)
Creates a query that will match any IInstallableUnit with the given
id, regardless of version. |
|
InstallableUnitQuery(String id,
Version version)
Creates a query that will match any IInstallableUnit with the given
id and version. |
|
InstallableUnitQuery(String id,
VersionRange range)
Creates a query that will match any IInstallableUnit with the given
id, and whose version falls in the provided range. |
Method Summary | |
---|---|
String |
getId()
Returns the id that this query will match against. |
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 |
Field Detail |
---|
public static final InstallableUnitQuery ANY
IInstallableUnit
it encounters.
Constructor Detail |
---|
public InstallableUnitQuery(String id)
IInstallableUnit
with the given
id, regardless of version.
id
- The installable unit id to match, or null
to match any idpublic InstallableUnitQuery(String id, VersionRange range)
IInstallableUnit
with the given
id, and whose version falls in the provided range.
id
- The installable unit id to match, or null
to match any idrange
- The version range to matchpublic InstallableUnitQuery(String id, Version version)
IInstallableUnit
with the given
id and version.
id
- The installable unit id to match, or null
to match any idversion
- The precise version that a matching unit must havepublic InstallableUnitQuery(IVersionedId versionedId)
IInstallableUnit
with the given
id and version.
versionedId
- The precise id/version combination that a matching unit must haveMethod Detail |
---|
public String getId()
|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.