|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.drools.semantics.jelly.JellyConsequence
Jelly-script semantics Consequence
.
Constructor Summary | |
JellyConsequence(org.apache.commons.jelly.Script script,
org.apache.commons.jelly.XMLOutput output)
Construct. |
Method Summary | |
void |
invoke(Tuple tuple,
WorkingMemory workingMemory)
Execute the consequence for the supplied matching Tuple . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JellyConsequence(org.apache.commons.jelly.Script script, org.apache.commons.jelly.XMLOutput output)
script
- The script to execute when matched.output
- The output sink for the script.Method Detail |
public void invoke(Tuple tuple, WorkingMemory workingMemory) throws ConsequenceException
Tuple
.invoke
in interface Consequence
tuple
- The matching tuple.workingMemory
- The working memory session.ConsequenceException
- If an error occurs while
attempting to invoke the consequence.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |