Skip navigation links
A B C D E F G H I N O P R S T U W 

A

Action - Annotation Type in org.jeasy.rules.annotation
Annotation to mark a method as a rule action.
Action - Interface in org.jeasy.rules.api
This interface represents a rule's action.
addRule(Object) - Method in class org.jeasy.rules.core.CompositeRule
Deprecated.
Add a rule to the composite rule.
afterEvaluate(Rule, Facts, boolean) - Method in interface org.jeasy.rules.api.RuleListener
Triggered after the evaluation of a rule.
afterExecute(Rules, Facts) - Method in interface org.jeasy.rules.api.RulesEngineListener
Triggered after executing the rule set When this listener is used with a InferenceRulesEngine, this method will be triggered after the execution of each candidate rule set in each iteration.
asMap() - Method in class org.jeasy.rules.api.Facts
Return facts as a map.
asRule(Object) - Static method in class org.jeasy.rules.core.RuleProxy
Makes the rule object implement the Rule interface.

B

BasicRule - Class in org.jeasy.rules.core
Basic rule implementation class that provides common methods.
BasicRule() - Constructor for class org.jeasy.rules.core.BasicRule
Create a new BasicRule.
BasicRule(String) - Constructor for class org.jeasy.rules.core.BasicRule
Create a new BasicRule.
BasicRule(String, String) - Constructor for class org.jeasy.rules.core.BasicRule
Create a new BasicRule.
BasicRule(String, String, int) - Constructor for class org.jeasy.rules.core.BasicRule
Create a new BasicRule.
beforeEvaluate(Rule, Facts) - Method in interface org.jeasy.rules.api.RuleListener
Triggered before the evaluation of a rule.
beforeEvaluate(Rules, Facts) - Method in interface org.jeasy.rules.api.RulesEngineListener
Triggered before evaluating the rule set.
beforeExecute(Rule, Facts) - Method in interface org.jeasy.rules.api.RuleListener
Triggered before the execution of a rule.
build() - Method in class org.jeasy.rules.core.RuleBuilder
Create a new Rule.

C

check(Rules, Facts) - Method in interface org.jeasy.rules.api.RulesEngine
Check rules without firing them.
check(Rules, Facts) - Method in class org.jeasy.rules.core.DefaultRulesEngine
 
check(Rules, Facts) - Method in class org.jeasy.rules.core.InferenceRulesEngine
 
clear() - Method in class org.jeasy.rules.api.Rules
Clear rules.
compareTo(Rule) - Method in class org.jeasy.rules.core.BasicRule
 
CompositeRule - Class in org.jeasy.rules.core
Deprecated.
use UnitRuleGroup instead. This class is deprecated in v3.2 and will be removed in v3.3 .
CompositeRule() - Constructor for class org.jeasy.rules.core.CompositeRule
Deprecated.
Create a new CompositeRule.
CompositeRule(String) - Constructor for class org.jeasy.rules.core.CompositeRule
Deprecated.
Create a new CompositeRule.
CompositeRule(String, String) - Constructor for class org.jeasy.rules.core.CompositeRule
Deprecated.
Create a new CompositeRule.
CompositeRule(String, String, int) - Constructor for class org.jeasy.rules.core.CompositeRule
Deprecated.
Create a new CompositeRule.
Condition - Annotation Type in org.jeasy.rules.annotation
Annotation to mark a method as a rule condition.
Condition - Interface in org.jeasy.rules.api
This interface represents a rule's condition.

D

DEFAULT_DESCRIPTION - Static variable in interface org.jeasy.rules.api.Rule
Default rule description.
DEFAULT_NAME - Static variable in interface org.jeasy.rules.api.Rule
Default rule name.
DEFAULT_PRIORITY - Static variable in interface org.jeasy.rules.api.Rule
Default rule priority.
DEFAULT_RULE_PRIORITY_THRESHOLD - Static variable in class org.jeasy.rules.core.RulesEngineParameters
Default rule priority threshold.
DefaultRulesEngine - Class in org.jeasy.rules.core
Default RulesEngine implementation.
DefaultRulesEngine() - Constructor for class org.jeasy.rules.core.DefaultRulesEngine
Create a new DefaultRulesEngine with default parameters.
DefaultRulesEngine(RulesEngineParameters) - Constructor for class org.jeasy.rules.core.DefaultRulesEngine
Create a new DefaultRulesEngine.
description - Variable in class org.jeasy.rules.core.BasicRule
Rule description.
description(String) - Method in class org.jeasy.rules.core.RuleBuilder
Set rule description.

E

equals(Object) - Method in class org.jeasy.rules.core.BasicRule
 
evaluate(Facts) - Method in interface org.jeasy.rules.api.Condition
Evaluate the condition according to the known facts.
evaluate(Facts) - Method in interface org.jeasy.rules.api.Rule
Rule conditions abstraction : this method encapsulates the rule's conditions.
evaluate(Facts) - Method in class org.jeasy.rules.core.BasicRule
Rule conditions abstraction : this method encapsulates the rule's conditions.
evaluate(Facts) - Method in class org.jeasy.rules.core.CompositeRule
Deprecated.
A composite rule is triggered if ALL conditions of all composing rules are evaluated to true.
execute(Facts) - Method in interface org.jeasy.rules.api.Action
Execute the action when the rule evaluates to true.
execute(Facts) - Method in interface org.jeasy.rules.api.Rule
Rule actions abstraction : this method encapsulates the rule's actions.
execute(Facts) - Method in class org.jeasy.rules.core.BasicRule
Rule actions abstraction : this method encapsulates the rule's actions.
execute(Facts) - Method in class org.jeasy.rules.core.CompositeRule
Deprecated.
When a composite rule is applied, ALL actions of composing rules are performed in their natural order.

F

Fact - Annotation Type in org.jeasy.rules.annotation
Annotation to mark a parameter as a fact.
Facts - Class in org.jeasy.rules.api
Represents a set of named facts.
Facts() - Constructor for class org.jeasy.rules.api.Facts
 
FALSE - Static variable in interface org.jeasy.rules.api.Condition
A NoOp Condition that always returns false.
fire(Rules, Facts) - Method in interface org.jeasy.rules.api.RulesEngine
Fire all registered rules on given facts.
fire(Rules, Facts) - Method in class org.jeasy.rules.core.DefaultRulesEngine
 
fire(Rules, Facts) - Method in class org.jeasy.rules.core.InferenceRulesEngine
 

G

get(String) - Method in class org.jeasy.rules.api.Facts
Get a fact by name.
getDescription() - Method in interface org.jeasy.rules.api.Rule
Getter for rule description.
getDescription() - Method in class org.jeasy.rules.core.BasicRule
 
getName() - Method in interface org.jeasy.rules.api.Rule
Getter for rule name.
getName() - Method in class org.jeasy.rules.core.BasicRule
 
getParameters() - Method in interface org.jeasy.rules.api.RulesEngine
Return the rules engine parameters.
getParameters() - Method in class org.jeasy.rules.core.DefaultRulesEngine
 
getParameters() - Method in class org.jeasy.rules.core.InferenceRulesEngine
 
getPriority() - Method in interface org.jeasy.rules.api.Rule
Getter for rule priority.
getPriority() - Method in class org.jeasy.rules.core.BasicRule
 
getPriorityThreshold() - Method in class org.jeasy.rules.core.RulesEngineParameters
 
getRuleListeners() - Method in interface org.jeasy.rules.api.RulesEngine
Return the list of registered rule listeners.
getRuleListeners() - Method in class org.jeasy.rules.core.DefaultRulesEngine
 
getRuleListeners() - Method in class org.jeasy.rules.core.InferenceRulesEngine
 
getRulesEngineListeners() - Method in interface org.jeasy.rules.api.RulesEngine
Return the list of registered rules engine listeners.
getRulesEngineListeners() - Method in class org.jeasy.rules.core.DefaultRulesEngine
 
getRulesEngineListeners() - Method in class org.jeasy.rules.core.InferenceRulesEngine
 

H

hashCode() - Method in class org.jeasy.rules.core.BasicRule
 

I

InferenceRulesEngine - Class in org.jeasy.rules.core
Inference RulesEngine implementation.
InferenceRulesEngine() - Constructor for class org.jeasy.rules.core.InferenceRulesEngine
Create a new inference rules engine with default parameters.
InferenceRulesEngine(RulesEngineParameters) - Constructor for class org.jeasy.rules.core.InferenceRulesEngine
Create a new inference rules engine.
invoke(Object, Method, Object[]) - Method in class org.jeasy.rules.core.RuleProxy
 
isEmpty() - Method in class org.jeasy.rules.api.Rules
Check if the rule set is empty.
isSkipOnFirstAppliedRule() - Method in class org.jeasy.rules.core.RulesEngineParameters
 
isSkipOnFirstFailedRule() - Method in class org.jeasy.rules.core.RulesEngineParameters
 
isSkipOnFirstNonTriggeredRule() - Method in class org.jeasy.rules.core.RulesEngineParameters
 
iterator() - Method in class org.jeasy.rules.api.Facts
 
iterator() - Method in class org.jeasy.rules.api.Rules
 

N

name - Variable in class org.jeasy.rules.core.BasicRule
Rule name.
name(String) - Method in class org.jeasy.rules.core.RuleBuilder
Set rule name.

O

onFailure(Rule, Facts, Exception) - Method in interface org.jeasy.rules.api.RuleListener
Triggered after a rule has failed.
onSuccess(Rule, Facts) - Method in interface org.jeasy.rules.api.RuleListener
Triggered after a rule has been executed successfully.
org.jeasy.rules.annotation - package org.jeasy.rules.annotation
This package contains Easy Rules annotations.
org.jeasy.rules.api - package org.jeasy.rules.api
This package contains Easy Rules public API.
org.jeasy.rules.core - package org.jeasy.rules.core
This package contains Easy Rules core implementation.

P

Priority - Annotation Type in org.jeasy.rules.annotation
Annotation to mark the method to execute to get rule priority.
priority - Variable in class org.jeasy.rules.core.BasicRule
Rule priority.
priority(int) - Method in class org.jeasy.rules.core.RuleBuilder
Set rule priority.
priorityThreshold(int) - Method in class org.jeasy.rules.core.RulesEngineParameters
 
proxyRules - Variable in class org.jeasy.rules.core.CompositeRule
Deprecated.
 
put(String, Object) - Method in class org.jeasy.rules.api.Facts
Put a fact in the working memory.

R

register(Object) - Method in class org.jeasy.rules.api.Rules
Register a new rule.
registerRuleListener(RuleListener) - Method in class org.jeasy.rules.core.DefaultRulesEngine
Register a rule listener.
registerRuleListener(RuleListener) - Method in class org.jeasy.rules.core.InferenceRulesEngine
Register a rule listener.
registerRuleListeners(List<RuleListener>) - Method in class org.jeasy.rules.core.DefaultRulesEngine
Register a list of rule listener.
registerRuleListeners(List<RuleListener>) - Method in class org.jeasy.rules.core.InferenceRulesEngine
Register a list of rule listener.
registerRulesEngineListener(RulesEngineListener) - Method in class org.jeasy.rules.core.DefaultRulesEngine
Register a rules engine listener.
registerRulesEngineListener(RulesEngineListener) - Method in class org.jeasy.rules.core.InferenceRulesEngine
Register a rules engine listener.
registerRulesEngineListeners(List<RulesEngineListener>) - Method in class org.jeasy.rules.core.DefaultRulesEngine
Register a list of rules engine listener.
registerRulesEngineListeners(List<RulesEngineListener>) - Method in class org.jeasy.rules.core.InferenceRulesEngine
Register a list of rules engine listener.
remove(String) - Method in class org.jeasy.rules.api.Facts
Remove fact.
removeRule(Object) - Method in class org.jeasy.rules.core.CompositeRule
Deprecated.
Remove a rule from the composite rule.
Rule - Annotation Type in org.jeasy.rules.annotation
Annotation to mark a class as a rule.
Rule - Interface in org.jeasy.rules.api
Abstraction for a rule that can be fired by the rules engine.
RuleBuilder - Class in org.jeasy.rules.core
Builder to create Rule instances.
RuleBuilder() - Constructor for class org.jeasy.rules.core.RuleBuilder
 
RuleListener - Interface in org.jeasy.rules.api
A listener for rules execution events.
RuleProxy - Class in org.jeasy.rules.core
Main class to create rule proxies from annotated objects.
Rules - Class in org.jeasy.rules.api
This class encapsulates a set of rules and represents a rules namespace.
Rules(Set<Rule>) - Constructor for class org.jeasy.rules.api.Rules
Create a new Rules object.
Rules(Rule...) - Constructor for class org.jeasy.rules.api.Rules
Create a new Rules object.
Rules(Object...) - Constructor for class org.jeasy.rules.api.Rules
Create a new Rules object.
rules - Variable in class org.jeasy.rules.core.CompositeRule
Deprecated.
The set of composing rules.
RulesEngine - Interface in org.jeasy.rules.api
Rules engine interface.
RulesEngineListener - Interface in org.jeasy.rules.api
A listener for rules engine execution events.
RulesEngineParameters - Class in org.jeasy.rules.core
Parameters of a rules engine.
RulesEngineParameters() - Constructor for class org.jeasy.rules.core.RulesEngineParameters
Create a new RulesEngineParameters with default values.
RulesEngineParameters(boolean, boolean, boolean, int) - Constructor for class org.jeasy.rules.core.RulesEngineParameters
Create a new RulesEngineParameters.

S

setDescription(String) - Method in class org.jeasy.rules.core.BasicRule
 
setPriority(int) - Method in class org.jeasy.rules.core.BasicRule
 
setPriorityThreshold(int) - Method in class org.jeasy.rules.core.RulesEngineParameters
 
setSkipOnFirstAppliedRule(boolean) - Method in class org.jeasy.rules.core.RulesEngineParameters
 
setSkipOnFirstFailedRule(boolean) - Method in class org.jeasy.rules.core.RulesEngineParameters
 
setSkipOnFirstNonTriggeredRule(boolean) - Method in class org.jeasy.rules.core.RulesEngineParameters
 
skipOnFirstAppliedRule(boolean) - Method in class org.jeasy.rules.core.RulesEngineParameters
 
skipOnFirstFailedRule(boolean) - Method in class org.jeasy.rules.core.RulesEngineParameters
 
skipOnFirstNonTriggeredRule(boolean) - Method in class org.jeasy.rules.core.RulesEngineParameters
 

T

then(Action) - Method in class org.jeasy.rules.core.RuleBuilder
Add an action to the rule.
toString() - Method in class org.jeasy.rules.api.Facts
 
toString() - Method in class org.jeasy.rules.core.BasicRule
 
toString() - Method in class org.jeasy.rules.core.RulesEngineParameters
 
TRUE - Static variable in interface org.jeasy.rules.api.Condition
A NoOp Condition that always returns true.

U

unregister(Object) - Method in class org.jeasy.rules.api.Rules
Unregister a rule.
unregister(String) - Method in class org.jeasy.rules.api.Rules
Unregister a rule by name.

W

when(Condition) - Method in class org.jeasy.rules.core.RuleBuilder
Set rule condition.
A B C D E F G H I N O P R S T U W 
Skip navigation links

Copyright © 2018. All Rights Reserved.