java.lang.Object | |
↳ | org.apache.commons.betwixt.expression.ConstantExpression |
ConstantExpression
represents a constant expression.
In other words, evaluate(Context)
returns a value independent of the context.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Base constructor
| |||||||||||
Convenience constructor sets
value property. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Evaluate expression against given context.
| |||||||||||
Gets the constant value of this expression
| |||||||||||
Sets the constant value of this expression
| |||||||||||
Returns something useful for logging
| |||||||||||
Do nothing
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.apache.commons.betwixt.expression.Expression
|
Base constructor
Convenience constructor sets value
property.
value | the Object which is the constant value for this expression |
---|
Evaluate expression against given context.
context | evaluate expression against this context |
---|
value
property
Gets the constant value of this expression
Sets the constant value of this expression
value | the constant value for this expression |
---|
Do nothing
context | update this Context |
---|---|
newValue | the new value for this expression |