Uses of Interface
org.jeasy.rules.api.Rule
-
Packages that use Rule Package Description org.jeasy.rules.api This package contains Easy Rules public API.org.jeasy.rules.core This package contains Easy Rules core implementation. -
-
Uses of Rule in org.jeasy.rules.api
Methods in org.jeasy.rules.api that return types with arguments of type Rule Modifier and Type Method Description default Map<Rule,Boolean>
RulesEngine. check(Rules rules, Facts facts)
Check rules without firing them.Iterator<Rule>
Rules. iterator()
Return an iterator on the rules set.Methods in org.jeasy.rules.api with parameters of type Rule Modifier and Type Method Description default void
RuleListener. afterEvaluate(Rule rule, Facts facts, boolean evaluationResult)
Triggered after the evaluation of a rule.default boolean
RuleListener. beforeEvaluate(Rule rule, Facts facts)
Triggered before the evaluation of a rule.default void
RuleListener. beforeExecute(Rule rule, Facts facts)
Triggered before the execution of a rule.default void
RuleListener. onEvaluationError(Rule rule, Facts facts, Exception exception)
Triggered on condition evaluation error due to any runtime exception.default void
RuleListener. onFailure(Rule rule, Facts facts, Exception exception)
Triggered after a rule has failed.default void
RuleListener. onSuccess(Rule rule, Facts facts)
Triggered after a rule has been executed successfully.void
Rules. register(Rule... rules)
Constructors in org.jeasy.rules.api with parameters of type Rule Constructor Description Rules(Rule... rules)
Create a newRules
object.Constructor parameters in org.jeasy.rules.api with type arguments of type Rule Constructor Description Rules(Set<Rule> rules)
Create a newRules
object. -
Uses of Rule in org.jeasy.rules.core
Classes in org.jeasy.rules.core that implement Rule Modifier and Type Class Description class
BasicRule
Basic rule implementation class that provides common methods.class
FastRule
Basic rule implementation class that provides common methods.Methods in org.jeasy.rules.core that return Rule Modifier and Type Method Description static Rule
RuleProxy. asRule(Object rule)
Makes the rule object implement theRule
interface.Rule
RuleBuilder. build()
Create a newRule
.Methods in org.jeasy.rules.core that return types with arguments of type Rule Modifier and Type Method Description Map<Rule,Boolean>
DefaultRulesEngine. check(Rules rules, Facts facts)
Map<Rule,Boolean>
InferenceRulesEngine. check(Rules rules, Facts facts)
Methods in org.jeasy.rules.core with parameters of type Rule Modifier and Type Method Description int
BasicRule. compareTo(Rule rule)
-