|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.drools.examples.primefactors.FactorConsequence
public class FactorConsequence
Constructor Summary | |
---|---|
FactorConsequence(Declaration numberDecl,
int prime)
|
Method Summary | |
---|---|
void |
invoke(Tuple tuple)
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)
Consequence
Tuple
.
invoke
in interface Consequence
tuple
- The matching tuple.public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |