Package org.jeasy.rules.api
Interface Condition
- 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 condition.
- Author:
- Mahmoud Ben Hassine ([email protected])
-
Field Summary
Fields -
Method Summary
-
Field Details
-
Method Details
-
evaluate
Evaluate the condition according to the known facts.- Parameters:
facts
- known when evaluating the rule.- Returns:
- true if the rule should be triggered, false otherwise
-