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 voidRuleListener. afterEvaluate(Rule rule, Facts facts, boolean evaluationResult)Triggered after the evaluation of a rule.default booleanRuleListener. beforeEvaluate(Rule rule, Facts facts)Triggered before the evaluation of a rule.default voidRuleListener. beforeExecute(Rule rule, Facts facts)Triggered before the execution of a rule.default voidRuleListener. onEvaluationError(Rule rule, Facts facts, Exception exception)Triggered on condition evaluation error due to any runtime exception.default voidRuleListener. onFailure(Rule rule, Facts facts, Exception exception)Triggered after a rule has failed.default voidRuleListener. onSuccess(Rule rule, Facts facts)Triggered after a rule has been executed successfully.voidRules. register(Rule... rules)Constructors in org.jeasy.rules.api with parameters of type Rule Constructor Description Rules(Rule... rules)Create a newRulesobject.Constructor parameters in org.jeasy.rules.api with type arguments of type Rule Constructor Description Rules(Set<Rule> rules)Create a newRulesobject. -
Uses of Rule in org.jeasy.rules.core
Classes in org.jeasy.rules.core that implement Rule Modifier and Type Class Description classBasicRuleBasic rule implementation class that provides common methods.classFastRuleBasic rule implementation class that provides common methods.Methods in org.jeasy.rules.core that return Rule Modifier and Type Method Description static RuleRuleProxy. asRule(Object rule)Makes the rule object implement theRuleinterface.RuleRuleBuilder. 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 intBasicRule. compareTo(Rule rule)
-