|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Expression
A non-mutable expression.
Expression
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Deprecated. Class version string |
Method Summary | |
---|---|
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. |
Field Detail |
---|
static final java.lang.String CLASS_VERSION
Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |