Uses of Interface
org.eclipse.equinox.p2.metadata.expression.IEvaluationContext
-
Packages that use IEvaluationContext Package Description org.eclipse.equinox.p2.metadata.expression Provides a simple expression language used to represent requirements and filters in the metadadaorg.eclipse.equinox.p2.metadata.index Provides classes for metadata query indexingorg.eclipse.equinox.p2.query Provides common classes for the query mechanism. -
-
Uses of IEvaluationContext in org.eclipse.equinox.p2.metadata.expression
Methods in org.eclipse.equinox.p2.metadata.expression that return IEvaluationContext Modifier and Type Method Description IEvaluationContext
IContextExpression. createContext(Class<? extends T> elementClass, Iterator<T> everything)
Creates a new context to be passed to a subsequent evaluation.IEvaluationContext
IContextExpression. createContext(Class<? extends T> elementClass, IIndexProvider<T> indexProvider)
Creates a new context to be passed to a subsequent evaluation.IEvaluationContext
IExpressionFactory. createContext(Object... params)
Create an evaluation context with one single variableIEvaluationContext
IExpressionFactory. createContext(IExpression[] variables, Object... params)
Create an evaluation context with one single variableIEvaluationContext
IMatchExpression. createContext()
Creates a new context to be passed to repeated subsequent evaluations.Methods in org.eclipse.equinox.p2.metadata.expression with parameters of type IEvaluationContext Modifier and Type Method Description Object
IExpression. 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.Iterator<T>
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
Methods in org.eclipse.equinox.p2.metadata.index with parameters of type IEvaluationContext Modifier and Type Method Description Iterator<T>
IIndex. 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
Methods in org.eclipse.equinox.p2.query that return IEvaluationContext Modifier and Type Method Description IEvaluationContext
ExpressionMatchQuery. getContext()
-