Uses of Class
org.jeasy.rules.api.Facts
Packages that use Facts
Package
Description
This package contains Easy Rules public API.
This package contains Easy Rules core implementation.
-
Uses of Facts in org.jeasy.rules.api
Methods in org.jeasy.rules.api with parameters of type FactsModifier and TypeMethodDescriptiondefault void
RuleListener.afterEvaluate
(Rule rule, Facts facts, boolean evaluationResult) Triggered after the evaluation of a rule.default void
RulesEngineListener.afterExecute
(Rules rules, Facts facts) Triggered after executing the rule set When this listener is used with aInferenceRulesEngine
, this method will be triggered after the execution of each candidate rule set in each iteration.default boolean
RuleListener.beforeEvaluate
(Rule rule, Facts facts) Triggered before the evaluation of a rule.default void
RulesEngineListener.beforeEvaluate
(Rules rules, Facts facts) Triggered before evaluating the rule set.default void
RuleListener.beforeExecute
(Rule rule, Facts facts) Triggered before the execution of a rule.Check rules without firing them.boolean
Evaluate the condition according to the known facts.boolean
This method implements the rule's condition(s).void
Execute the action when the rule's condition evaluates to true.void
This method implements the rule's action(s).void
Fire all registered rules on given facts.default void
RuleListener.onEvaluationError
(Rule rule, Facts facts, Exception exception) Triggered on condition evaluation error due to any runtime exception.default void
Triggered after a rule has failed.default void
Triggered after a rule has been executed successfully. -
Uses of Facts in org.jeasy.rules.core
Methods in org.jeasy.rules.core with parameters of type FactsModifier and TypeMethodDescriptionboolean
This method implements the rule's condition(s).final boolean
void
This method implements the rule's action(s).final void
void
void
protected abstract void
protected abstract boolean