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.
add(String, Object) - Method in class org.jeasy.rules.api.Facts
Deprecated.
Use Facts.put(java.lang.String, java.lang.Object) instead. This will be removed in v3.0.0 final release
addRule(Object) - Method in class org.jeasy.rules.core.CompositeRule
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.
aNewRulesEngine() - Static method in class org.jeasy.rules.core.RulesEngineBuilder
Create a new rules engine builder.
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.
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.RulesEngineBuilder
Build a rules engine instance.

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
 
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
Class representing a composite rule composed of a set of rules.
CompositeRule() - Constructor for class org.jeasy.rules.core.CompositeRule
Create a new CompositeRule.
CompositeRule(String) - Constructor for class org.jeasy.rules.core.CompositeRule
Create a new CompositeRule.
CompositeRule(String, String) - Constructor for class org.jeasy.rules.core.CompositeRule
Create a new CompositeRule.
CompositeRule(String, String, int) - Constructor for class org.jeasy.rules.core.CompositeRule
Create a new CompositeRule.
Condition - Annotation Type in org.jeasy.rules.annotation
Annotation to mark a method as a rule 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_NAME - Static variable in class org.jeasy.rules.core.RulesEngineParameters
Deprecated.
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
 
description - Variable in class org.jeasy.rules.core.BasicRule
Rule description.

E

equals(Object) - Method in class org.jeasy.rules.core.BasicRule
 
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
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.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
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
 
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
 

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
 
getName() - Method in class org.jeasy.rules.core.RulesEngineParameters
Deprecated.
getParameters() - Method in interface org.jeasy.rules.api.RulesEngine
Return the rules engine parameters.
getParameters() - Method in class org.jeasy.rules.core.DefaultRulesEngine
 
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
 

H

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

I

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.
isSilentMode() - Method in class org.jeasy.rules.core.RulesEngineParameters
 
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 - Variable in class org.jeasy.rules.core.RulesEngineParameters
Deprecated.
named(String) - Method in class org.jeasy.rules.core.RulesEngineBuilder
Deprecated.

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.
proxyRules - Variable in class org.jeasy.rules.core.CompositeRule
 
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.
remove(String) - Method in class org.jeasy.rules.api.Facts
Remove fact.
removeRule(Object) - Method in class org.jeasy.rules.core.CompositeRule
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.
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
The set of composing rules.
RulesEngine - Interface in org.jeasy.rules.api
Rules engine interface.
RulesEngineBuilder - Class in org.jeasy.rules.core
Builder for rules engine instances.
RulesEngineParameters - Class in org.jeasy.rules.core
Parameters of the rules engine.
RulesEngineParameters() - Constructor for class org.jeasy.rules.core.RulesEngineParameters
 
RulesEngineParameters(String, boolean, boolean, int, boolean) - Constructor for class org.jeasy.rules.core.RulesEngineParameters
 

S

setDescription(String) - Method in class org.jeasy.rules.core.BasicRule
 
setName(String) - Method in class org.jeasy.rules.core.RulesEngineParameters
Deprecated.
setPriority(int) - Method in class org.jeasy.rules.core.BasicRule
 
setPriorityThreshold(int) - Method in class org.jeasy.rules.core.RulesEngineParameters
 
setSilentMode(boolean) - 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
 
sort() - Method in class org.jeasy.rules.api.Rules
Sort rules.

T

toString() - Method in class org.jeasy.rules.api.Facts
 
toString() - Method in class org.jeasy.rules.core.BasicRule
 

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

withRuleListener(RuleListener) - Method in class org.jeasy.rules.core.RulesEngineBuilder
Register a rule listener.
withRulePriorityThreshold(int) - Method in class org.jeasy.rules.core.RulesEngineBuilder
Set rule priority threshold.
withSilentMode(boolean) - Method in class org.jeasy.rules.core.RulesEngineBuilder
Set silent mode to mute all loggers.
withSkipOnFirstAppliedRule(boolean) - Method in class org.jeasy.rules.core.RulesEngineBuilder
Set the setSkipOnFirstAppliedRule parameter.
withSkipOnFirstFailedRule(boolean) - Method in class org.jeasy.rules.core.RulesEngineBuilder
Set skipOnFirstFailedRule parameter.
withSkipOnFirstNonTriggeredRule(boolean) - Method in class org.jeasy.rules.core.RulesEngineBuilder
Set the skipOnFirstNonTriggeredRule parameter.
A B C D E F G H I N O P R S T U W 
Skip navigation links

Copyright © 2017. All Rights Reserved.