Uses of Interface
org.eclipse.equinox.p2.metadata.expression.IEvaluationContext
Package
Description
Provides a simple expression language used to represent requirements and filters in the metadada
Provides classes for metadata query indexing
Provides common classes for the query mechanism.
-
Uses of IEvaluationContext in org.eclipse.equinox.p2.metadata.expression
Modifier and TypeMethodDescriptionIContextExpression.createContext
(Class<? extends T> elementClass, Iterator<T> everything) Creates a new context to be passed to a subsequent evaluation.IContextExpression.createContext
(Class<? extends T> elementClass, IIndexProvider<T> indexProvider) Creates a new context to be passed to a subsequent evaluation.IExpressionFactory.createContext
(Object... params) Create an evaluation context with one single variableIExpressionFactory.createContext
(IExpression[] variables, Object... params) Create an evaluation context with one single variableIMatchExpression.createContext()
Creates a new context to be passed to repeated subsequent evaluations.Modifier and TypeMethodDescriptionIExpression.evaluate
(IEvaluationContext context) Evaluate this expression with given context and variables.boolean
IMatchExpression.isMatch
(IEvaluationContext context, T candidate) This method assignscandidate
to the 'this' variable of thecontext
and then evaluates the expression.IContextExpression.iterator
(IEvaluationContext context) Evaluate the expression and return the expected collection result as an iterator -
Uses of IEvaluationContext in org.eclipse.equinox.p2.metadata.index
Modifier and TypeMethodDescriptionIIndex.getCandidates
(IEvaluationContext ctx, IExpression variable, IExpression booleanExpr) Obtains the elements that are candidates for the givenbooleanExpr
when applied using the givenvariable
asthis
. -
Uses of IEvaluationContext in org.eclipse.equinox.p2.query