org.drools.semantics.annotation.model
Class PojoConsequence

java.lang.Object
  extended by org.drools.semantics.annotation.model.PojoConsequence
All Implemented Interfaces:
Serializable, Consequence, SemanticComponent

 class PojoConsequence
extends Object
implements Consequence


Constructor Summary
PojoConsequence(RuleReflectMethod ruleMethod)
           
 
Method Summary
 void invoke(Tuple tuple)
          Execute the consequence for the supplied matching Tuple.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PojoConsequence

public PojoConsequence(RuleReflectMethod ruleMethod)
Method Detail

invoke

public void invoke(Tuple tuple)
            throws ConsequenceException
Description copied from interface: Consequence
Execute the consequence for the supplied matching Tuple.

Specified by:
invoke in interface Consequence
Parameters:
tuple - The matching tuple.
Throws:
ConsequenceException - If an error occurs while attempting to invoke the consequence.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2001-2005 The Codehaus. All Rights Reserved.