public final class ArtifactKeyQuery extends ExpressionMatchQuery<IArtifactKey>
IArtifactKey
instances
that satisfy various criteria.Modifier and Type | Field and Description |
---|---|
static ArtifactKeyQuery |
ALL_KEYS
A singleton artifact key query that will always match every artifact key in
the given
IQueryable . |
Constructor and Description |
---|
ArtifactKeyQuery(IArtifactKey key)
Creates an artifact key query that will match any key equal to the
provided key
|
ArtifactKeyQuery(String classifier,
String id,
VersionRange range)
Pass the id and/or version range to match IArtifactKeys against.
|
getContext, getExpression, getMatchingClass, isMatch, perform, perform, postPerform, prePerform, setIndexProvider
public static final ArtifactKeyQuery ALL_KEYS
IQueryable
.public ArtifactKeyQuery(String classifier, String id, VersionRange range)
classifier
- The artifact key classifier, or null
id
- The artifact key id, or null
range
- A version range, or null
public ArtifactKeyQuery(IArtifactKey key)
key
- the input key to test for equality in the query
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.