Package org.jeasy.rules.api
Interface Action
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
This interface represents a rule's action.
- Author:
- Mahmoud Ben Hassine ([email protected])
-
Method Summary
-
Method Details
-
execute
Execute the action when the rule's condition evaluates to true.- Parameters:
facts
- known at the time of execution of the action- Throws:
Exception
- when unable to execute the action
-