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 value
variable
- The variable who's value should be setvalue
- The new value for the variable.Object getParameter(int position)
position
position
- The zero based position for the parameter
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.