| Package | Description |
|---|---|
| org.eclipse.equinox.p2.metadata |
Defines the metadata being handled by p2.
|
| org.eclipse.equinox.p2.query |
Provides common classes for the query mechanism.
|
| org.eclipse.equinox.p2.repository.artifact |
Defines artifact repository.
|
| Modifier and Type | Field and Description |
|---|---|
static VersionRange |
VersionRange.emptyRange
TODO: This should not be OSGi but it has to be that for now since the resolver creates
a filter where the min and max are converted into strings.
|
| Modifier and Type | Method and Description |
|---|---|
static VersionRange |
VersionRange.create(java.lang.String versionRange)
Parses a version range from the specified string.
|
VersionRange |
VersionRange.intersect(VersionRange r2) |
| Modifier and Type | Method and Description |
|---|---|
static IRequirement |
MetadataFactory.createRequirement(java.lang.String namespace,
java.lang.String name,
VersionRange range,
IMatchExpression<IInstallableUnit> filter,
boolean optional,
boolean multiple)
Returns a
IRequirement with the given values. |
static IRequirement |
MetadataFactory.createRequirement(java.lang.String namespace,
java.lang.String name,
VersionRange range,
IMatchExpression<IInstallableUnit> filter,
int minCard,
int maxCard,
boolean greedy)
Create and return a new requirement (
IRequirement) with the specified values. |
static IRequirement |
MetadataFactory.createRequirement(java.lang.String namespace,
java.lang.String name,
VersionRange range,
IMatchExpression<IInstallableUnit> filter,
int minCard,
int maxCard,
boolean greedy,
java.lang.String description)
Create and return a new requirement (
IRequirement) with the specified values. |
static IRequirement |
MetadataFactory.createRequirement(java.lang.String namespace,
java.lang.String name,
VersionRange range,
java.lang.String filter,
boolean optional,
boolean multiple,
boolean greedy)
Create and return a new requirement (
IRequirement) with the specified values. |
static IUpdateDescriptor |
MetadataFactory.createUpdateDescriptor(java.lang.String id,
VersionRange range,
int severity,
java.lang.String description)
Creates a new update descriptor object.
|
static IUpdateDescriptor |
MetadataFactory.createUpdateDescriptor(java.lang.String id,
VersionRange range,
int severity,
java.lang.String description,
java.net.URI location)
Create and return a new update descriptor
IUpdateDescriptor with the specified values. |
VersionRange |
VersionRange.intersect(VersionRange r2) |
| Modifier and Type | Method and Description |
|---|---|
static IQuery<IInstallableUnit> |
QueryUtil.createIUQuery(java.lang.String id,
VersionRange range)
Creates a query that will match any
IInstallableUnit with the given
id, and whose version falls in the provided range. |
| Constructor and Description |
|---|
ArtifactDescriptorQuery(java.lang.String id,
VersionRange versionRange,
java.lang.String format)
The query will match descriptors with the given
id, versionRange
and format |
ArtifactDescriptorQuery(java.lang.String id,
VersionRange versionRange,
java.lang.String format,
java.util.Map<java.lang.String,java.lang.String> properties)
The query will match descriptors with the given
id, versionRange,
format, and properties. |
ArtifactKeyQuery(java.lang.String classifier,
java.lang.String id,
VersionRange range)
Pass the id and/or version range to match IArtifactKeys against.
|
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.