org.eclipse.equinox.p2.metadata.expression
public interface IEvaluationContext
| Modifier and Type | Method and Description |
|---|---|
IIndexProvider<?> |
getIndexProvider() |
Object |
getParameter(int position)
Returns the value of the parameter at the given
position |
Object |
getValue(IExpression variable)
Retrieve the value of the given
variable from this context |
void |
setIndexProvider(IIndexProvider<?> indexProvider) |
void |
setValue(IExpression variable,
Object value)
Set the current value for the given
variable to value |
IIndexProvider<?> getIndexProvider()
void setIndexProvider(IIndexProvider<?> indexProvider)
Object getValue(IExpression variable)
variable from this contextvariable - The variable who's value should be retrievedvoid setValue(IExpression variable, Object value)
variable to valuevariable - The variable who's value should be setvalue - The new value for the variable.Object getParameter(int position)
positionposition - The zero based position for the parameterGuidelines for using Eclipse APIs. Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.