|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.equinox.p2.query.ExpressionMatchQuery<IArtifactDescriptor>
org.eclipse.equinox.p2.repository.artifact.ArtifactDescriptorQuery
public final class ArtifactDescriptorQuery
A general purpose query for matching IArtifactDescriptor instances
that satisfy various criteria.
| Field Summary | |
|---|---|
static ArtifactDescriptorQuery |
ALL_DESCRIPTORS
A singleton query that will match all instances of IArtifactDescriptor. |
| Constructor Summary | |
|---|---|
ArtifactDescriptorQuery(IArtifactKey key)
The query will match descriptors whose id and versionRange
match the supplied key |
|
ArtifactDescriptorQuery(String id,
VersionRange versionRange,
String format)
The query will match descriptors with the given id, versionRange
and format |
|
ArtifactDescriptorQuery(String id,
VersionRange versionRange,
String format,
Map<String,String> properties)
The query will match descriptors with the given id, versionRange,
format, and properties. |
|
| Method Summary |
|---|
| 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 |
| Field Detail |
|---|
public static final ArtifactDescriptorQuery ALL_DESCRIPTORS
IArtifactDescriptor.
| Constructor Detail |
|---|
public ArtifactDescriptorQuery(String id,
VersionRange versionRange,
String format)
id, versionRange
and format
id - the descriptor id to match. Can not be nullversionRange - the descriptor version range to match or null to match
any version rangeformat - the descriptor IArtifactDescriptor.FORMAT value to match, or null to
match any descriptor formatpublic ArtifactDescriptorQuery(IArtifactKey key)
id and versionRange
match the supplied key
key - the artifact key to match. Cannot be null.
public ArtifactDescriptorQuery(String id,
VersionRange versionRange,
String format,
Map<String,String> properties)
id, versionRange,
format, and properties.
id - the descriptor id to match. Can not be nullversionRange - the descriptor version range to match or null to match
any version rangeformat - the descriptor IArtifactDescriptor.FORMAT value to match, or null to
match any descriptor formatproperties - The properties to query for
|
Eclipse Platform Release 3.7 |
|||||||||
| 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, 2011. All rights reserved.