|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.drools.semantics.java.Interp | +--org.drools.semantics.java.Expr
Base class for expression-based Java semantic components.
ExprCondition
,
ExprExtractor
Constructor Summary | |
protected |
Expr()
Construct. |
protected |
Expr(java.lang.String expr,
Declaration[] availDecls)
Construct. |
Method Summary | |
void |
configure(java.lang.String expr,
Declaration[] decls)
Configure/parse the expression. |
java.lang.String |
getExpression()
Retrieve the expression. |
Declaration[] |
getRequiredTupleMembers()
Retrieve the Declaration s required for
evaluating the expression. |
protected void |
setExpression(java.lang.String expr)
Set the expression. |
Methods inherited from class org.drools.semantics.java.Interp |
evaluate, evaluate, getText, setText, setUpNameSpace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected Expr()
protected Expr(java.lang.String expr, Declaration[] availDecls) throws ConfigurationException
expr
- The expression.availDecls
- The available declarations.
ConfigurationException
- If an error occurs while
attempting to perform configuration.Method Detail |
public java.lang.String getExpression()
protected void setExpression(java.lang.String expr)
expr
- The expression.public void configure(java.lang.String expr, Declaration[] decls) throws ConfigurationException
expr
- The expression.decls
- All available declarations.
ConfigurationException
- If an error occurs while
attempting to configure/parse the expression.public Declaration[] getRequiredTupleMembers()
Declaration
s required for
evaluating the expression.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |