public interface Expression
Expression
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Deprecated.
Class version string
|
Modifier and Type | Method and Description |
---|---|
boolean |
canGetValue(ScenarioExecutionContext pContext)
Deprecated.
Returns true if the expression can be resolved in the given
scenario execution context, false otherwise.
|
java.lang.Object |
getValue(ScenarioExecutionContext pContext)
Deprecated.
Resolves the expression in the given scenario execution context,
and returns the resulting value.
|
static final java.lang.String CLASS_VERSION
boolean canGetValue(ScenarioExecutionContext pContext)
It's legal to call this method with a null argument; true will be returned if the context is not required at all to evaluate the expression.
java.lang.Object getValue(ScenarioExecutionContext pContext) throws ScenarioException
This method should be called only if the scenario execution
context is known to contain all the information necessary to
resolve the expression (in other words, if
Expression.canGetValue
returns true).
ScenarioException
- if the expression could not be
resolved