@FunctionalInterface
public interface Condition
| Modifier and Type | Field and Description |
|---|---|
static Condition |
FALSE
A NoOp
Condition that always returns false. |
static Condition |
TRUE
A NoOp
Condition that always returns true. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluate(Facts facts)
Evaluate the condition according to the known facts.
|
boolean evaluate(Facts facts)
facts - known when evaluating the rule.Copyright © 2020. All Rights Reserved.