This interface represents a rule's action. @author Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com)
| 29 | * @author Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) |
| 30 | */ |
| 31 | @FunctionalInterface |
| 32 | public interface Action { |
| 33 | |
| 34 | /** |
| 35 | * Execute the action when the rule's condition evaluates to true. |
| 36 | * |
| 37 | * @param facts known at the time of execution of the action |
| 38 | * @throws Exception when unable to execute the action |
| 39 | */ |
| 40 | void execute(Facts facts) throws Exception; |
| 41 | } |
nothing calls this directly
no outgoing calls
no test coverage detected