org.drools.semantics.annotation.model
Class PojoConsequence
java.lang.Object
org.drools.semantics.annotation.model.PojoConsequence
- All Implemented Interfaces:
- Serializable, Consequence, SemanticComponent
class PojoConsequence
- extends Object
- implements Consequence
PojoConsequence
public PojoConsequence(RuleReflectMethod ruleMethod)
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.