|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.drools.examples.primefactors.FactorConsequence
Constructor Summary | |
FactorConsequence(Declaration numberDecl,
int prime)
|
Method Summary | |
void |
invoke(Tuple tuple,
WorkingMemory workingMemory)
Execute the consequence for the supplied matching Tuple . |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public FactorConsequence(Declaration numberDecl, int prime)
Method Detail |
public void invoke(Tuple tuple, WorkingMemory workingMemory)
Consequence
Tuple
.
invoke
in interface Consequence
tuple
- The matching tuple.workingMemory
- The working memory session.public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |