org.drools.spi
Interface Consequence
- All Superinterfaces:
- SemanticComponent, java.io.Serializable
- All Known Implementing Classes:
- BlockConsequence, BlockConsequence, BlockConsequence
- public interface Consequence
- extends SemanticComponent
Consequence to be fired upon successful match of a Rule
.
- Author:
- bob mcwhirter
- See Also:
Rule
Method Summary |
void |
invoke(Tuple tuple,
WorkingMemory workingMemory)
Execute the consequence for the supplied
matching Tuple . |
invoke
public void invoke(Tuple tuple,
WorkingMemory workingMemory)
throws ConsequenceException
- Execute the consequence for the supplied
matching
Tuple
.
- Parameters:
tuple
- The matching tuple.workingMemory
- The working memory session.
- Throws:
ConsequenceException
- If an error occurs while
attempting to invoke the consequence.