| Package | Description |
|---|---|
| org.jeasy.rules.api |
This package contains Easy Rules public API.
|
| org.jeasy.rules.core |
This package contains Easy Rules core implementation.
|
| Modifier and Type | Method and Description |
|---|---|
Map<Rule,Boolean> |
RulesEngine.check(Rules rules,
Facts facts)
Check rules without firing them.
|
Iterator<Rule> |
Rules.iterator() |
| Modifier and Type | Method and Description |
|---|---|
void |
RuleListener.afterEvaluate(Rule rule,
Facts facts,
boolean evaluationResult)
Triggered after the evaluation of a rule.
|
boolean |
RuleListener.beforeEvaluate(Rule rule,
Facts facts)
Triggered before the evaluation of a rule.
|
void |
RuleListener.beforeExecute(Rule rule,
Facts facts)
Triggered before the execution of a rule.
|
void |
RuleListener.onFailure(Rule rule,
Facts facts,
Exception exception)
Triggered after a rule has failed.
|
void |
RuleListener.onSuccess(Rule rule,
Facts facts)
Triggered after a rule has been executed successfully.
|
| Constructor and Description |
|---|
Rules(Rule... rules)
Create a new
Rules object. |
| Constructor and Description |
|---|
Rules(Set<Rule> rules)
Create a new
Rules object. |
| Modifier and Type | Class and Description |
|---|---|
class |
BasicRule
Basic rule implementation class that provides common methods.
|
class |
CompositeRule
Class representing a composite rule composed of a set of rules.
|
| Modifier and Type | Field and Description |
|---|---|
protected Map<Object,Rule> |
CompositeRule.proxyRules |
protected Set<Rule> |
CompositeRule.rules
The set of composing rules.
|
| Modifier and Type | Method and Description |
|---|---|
static Rule |
RuleProxy.asRule(Object rule)
Makes the rule object implement the
Rule interface. |
| Modifier and Type | Method and Description |
|---|---|
Map<Rule,Boolean> |
DefaultRulesEngine.check(Rules rules,
Facts facts) |
| Modifier and Type | Method and Description |
|---|---|
int |
BasicRule.compareTo(Rule rule) |
Copyright © 2017. All Rights Reserved.