public class EvaluationContext extends java.lang.Object implements IEvaluationContext
| Modifier and Type | Class and Description |
|---|---|
static class |
EvaluationContext.MultiVariableContext |
static class |
EvaluationContext.SingleVariableContext |
| Modifier and Type | Method and Description |
|---|---|
static IEvaluationContext |
create() |
static IEvaluationContext |
create(IEvaluationContext parent,
IExpression variable) |
static IEvaluationContext |
create(IEvaluationContext parent,
IExpression[] variables) |
static IEvaluationContext |
create(IEvaluationContext parent,
java.lang.Object[] parameters) |
static IEvaluationContext |
create(IEvaluationContext parent,
java.lang.Object[] parameters,
IExpression[] variables) |
static IEvaluationContext |
create(IExpression variable) |
static IEvaluationContext |
create(IExpression[] variables) |
static IEvaluationContext |
create(java.lang.Object[] parameters,
IExpression variable) |
static IEvaluationContext |
create(java.lang.Object[] parameters,
IExpression[] variables) |
IIndexProvider<?> |
getIndexProvider() |
java.lang.Object |
getParameter(int position)
Returns the value of the parameter at the given
position |
java.lang.Object |
getValue(IExpression variable)
Retrieve the value of the given
variable from this context |
void |
setIndexProvider(IIndexProvider<?> indexProvider) |
void |
setValue(IExpression variable,
java.lang.Object value)
Set the current value for the given
variable to value |
public static IEvaluationContext create()
public static IEvaluationContext create(IEvaluationContext parent, IExpression variable)
public static IEvaluationContext create(IEvaluationContext parent, IExpression[] variables)
public static IEvaluationContext create(IEvaluationContext parent, java.lang.Object[] parameters, IExpression[] variables)
public static IEvaluationContext create(IEvaluationContext parent, java.lang.Object[] parameters)
public static IEvaluationContext create(IExpression variable)
public static IEvaluationContext create(IExpression[] variables)
public static IEvaluationContext create(java.lang.Object[] parameters, IExpression variable)
public static IEvaluationContext create(java.lang.Object[] parameters, IExpression[] variables)
public final java.lang.Object getParameter(int position)
IEvaluationContextpositiongetParameter in interface IEvaluationContextposition - The zero based position for the parameterpublic java.lang.Object getValue(IExpression variable)
IEvaluationContextvariable from this contextgetValue in interface IEvaluationContextvariable - The variable who's value should be retrievedpublic void setValue(IExpression variable, java.lang.Object value)
IEvaluationContextvariable to valuesetValue in interface IEvaluationContextvariable - The variable who's value should be setvalue - The new value for the variable.public IIndexProvider<?> getIndexProvider()
getIndexProvider in interface IEvaluationContextpublic void setIndexProvider(IIndexProvider<?> indexProvider)
setIndexProvider in interface IEvaluationContext