Package | Description |
---|---|
org.eclipse.equinox.p2.metadata |
Defines the metadata being handled by p2.
|
org.eclipse.equinox.p2.metadata.expression |
Provides a simple expression language used to represent requirements and filters in the metadada
Package Specification
This package defines a simple expression language that is used to define requirements and filters in the metadata, but also form the base of the p2 query language.
|
org.eclipse.equinox.p2.query |
Provides common classes for the query mechanism.
|
Modifier and Type | Method and Description |
---|---|
IMatchExpression<IInstallableUnit> |
IInstallableUnit.getFilter()
Returns the filter on this installable unit.
|
IMatchExpression<IInstallableUnit> |
IRequirement.getFilter() |
IMatchExpression<IInstallableUnit> |
IRequirement.getMatches()
Returns a boolean match expression that will return true for any
IInstallableUnit that matches the requirement. |
Modifier and Type | Method and Description |
---|---|
Collection<IMatchExpression<IInstallableUnit>> |
IUpdateDescriptor.getIUsBeingUpdated()
Returns an expression matching all installable units that will be updated by
the unit with this update descriptor.
|
Modifier and Type | Method and Description |
---|---|
static IRequirement |
MetadataFactory.createRequirement(IMatchExpression<IInstallableUnit> requirement,
IMatchExpression<IInstallableUnit> filter,
int minCard,
int maxCard,
boolean greedy)
Create and return a new requirement (
IRequirement ) with the specified values. |
static IRequirement |
MetadataFactory.createRequirement(IMatchExpression<IInstallableUnit> requirement,
IMatchExpression<IInstallableUnit> filter,
int minCard,
int maxCard,
boolean greedy)
Create and return a new requirement (
IRequirement ) with the specified values. |
static IRequirement |
MetadataFactory.createRequirement(IMatchExpression<IInstallableUnit> requirement,
IMatchExpression<IInstallableUnit> filter,
int minCard,
int maxCard,
boolean greedy,
String description)
Create and return a new requirement (
IRequirement ) with the specified values. |
static IRequirement |
MetadataFactory.createRequirement(IMatchExpression<IInstallableUnit> requirement,
IMatchExpression<IInstallableUnit> filter,
int minCard,
int maxCard,
boolean greedy,
String description)
Create and return a new requirement (
IRequirement ) with the specified values. |
static IRequirement |
MetadataFactory.createRequirement(String namespace,
String name,
VersionRange range,
IMatchExpression<IInstallableUnit> filter,
boolean optional,
boolean multiple)
Returns a
IRequirement with the given values. |
static IRequirement |
MetadataFactory.createRequirement(String namespace,
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(String namespace,
String name,
VersionRange range,
IMatchExpression<IInstallableUnit> filter,
int minCard,
int maxCard,
boolean greedy,
String description)
Create and return a new requirement (
IRequirement ) with the specified values. |
void |
MetadataFactory.InstallableUnitDescription.setFilter(IMatchExpression<IInstallableUnit> filter) |
Modifier and Type | Method and Description |
---|---|
static IUpdateDescriptor |
MetadataFactory.createUpdateDescriptor(Collection<IMatchExpression<IInstallableUnit>> descriptors,
int severity,
String description,
URI location) |
Modifier and Type | Method and Description |
---|---|
<T> IMatchExpression<T> |
IExpressionFactory.matchExpression(IExpression expression,
Object... parameters)
Creates a parameterized top level expression suitable for predicate matching
|
Modifier and Type | Method and Description |
---|---|
IMatchExpression<T> |
ExpressionMatchQuery.getExpression() |
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.