|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.didana.codecontract.core.Expression
public class Expression
The class represents a single contract test defined as precondition, postcondition or invariant. The expressionString String must be a valid JEXL expression evaluating to true or false at runtime.
Constructor Summary | |
---|---|
Expression(java.lang.String expressionString)
|
Method Summary | |
---|---|
boolean |
evaluate(org.apache.commons.jexl.JexlContext jexlContext)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Expression(java.lang.String expressionString)
Method Detail |
---|
public boolean evaluate(org.apache.commons.jexl.JexlContext jexlContext)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |