org.drools.spi
Interface Action
- All Superinterfaces:
- Consequence, SemanticComponent
- public interface Action
- extends Consequence
Action to be executed upon successful match of a Rule
.
- Author:
- bob mcwhirter
- See Also:
Rule
Method Summary |
void |
invoke(Tuple tuple,
WorkingMemory workingMemory)
Execute the action for the supplied
matching Tuple . |
invoke
public void invoke(Tuple tuple,
WorkingMemory workingMemory)
throws ActionInvokationException
- Execute the action for the supplied
matching
Tuple
.
- Specified by:
invoke
in interface Consequence
- Parameters:
tuple
- The matching tuple.workingMemory
- The working memory session.
- Throws:
ActionInvokationException
- If an error occurs while
attempting to invoke the action.
Copyright © 2001-2003 The Werken Company. All Rights Reserved.