|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MutableExpression
An Expression that can be modified.
MutableExpression
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Deprecated. Class version string |
static int |
OPERATOR_ADD
Deprecated. |
static int |
OPERATOR_APPEND
Deprecated. |
static int |
OPERATOR_APPEND_ALL
Deprecated. |
static int |
OPERATOR_APPEND_ONCE
Deprecated. |
static int |
OPERATOR_ASSIGN
Deprecated. |
static int |
OPERATOR_SUBTRACT
Deprecated. |
Method Summary | |
---|---|
void |
modifyValue(ScenarioExecutionContext pContext,
int pOperator,
java.lang.Object pModifierValue)
Deprecated. Modifies the data pointed to by the expression, using the given scenario execution context to resolve the pointer. |
Methods inherited from interface atg.scenario.expression.Expression |
---|
canGetValue, getValue |
Field Detail |
---|
static final java.lang.String CLASS_VERSION
static final int OPERATOR_ASSIGN
static final int OPERATOR_APPEND
static final int OPERATOR_APPEND_ONCE
static final int OPERATOR_APPEND_ALL
static final int OPERATOR_ADD
static final int OPERATOR_SUBTRACT
Method Detail |
---|
void modifyValue(ScenarioExecutionContext pContext, int pOperator, java.lang.Object pModifierValue) throws ScenarioException
This method should be called only if the scenario execution
context is known to contain all the information necessary to
resolve and modify the expression (in other words, if
Expression.canGetValue
returns true).
pOperator
- one of OPERATOR_ASSIGN, OPERATOR_APPEND,
OPERATOR_APPEND_ONCE, OPERATOR_APPEND_ALL, OPERATOR_ADD, and
OPERATOR_SUBTRACT; OPERATOR_APPEND, OPERATOR_APPEND_ONCE, and
OPERATOR_APPEND_ALL should only be used if the expression
evaluates to an array/List/Set; OPERATOR_ADD and
OPERATOR_SUBTRACT should only be used if the expression evaluates
to a NumberpModifierValue
- the value used to modify the current value,
according to the given operator; the type of the value should be
compatible with the type of the evaluated expression and the
operator
ScenarioException
- if the expression could not be
resolved, or the value could not be modified, for example because
the given operator or modifier value is invalid for this
expression
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |