|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.drools.semantics.groovy.GroovyInterp
org.drools.semantics.groovy.GroovyBlockConsequence
public class GroovyBlockConsequence
Groovy block semantics Consequence
.
Constructor Summary | |
---|---|
GroovyBlockConsequence(java.lang.String text,
Rule rule)
Construct. |
Method Summary | |
---|---|
void |
invoke(Tuple tuple)
Execute the consequence for the supplied matching Tuple . |
Methods inherited from class org.drools.semantics.groovy.GroovyInterp |
---|
getCode, getRule, getText, setUpDictionary |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GroovyBlockConsequence(java.lang.String text, Rule rule)
text
- The block text.rule
- The rule.Method Detail |
---|
public void invoke(Tuple tuple) throws ConsequenceException
Tuple
.
invoke
in interface Consequence
ConsequenceException
- If an error occurs while attempting to invoke the
consequence.tuple
- The matching tuple.workingMemory
- The working memory session.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |