| Interface | Description |
|---|---|
| ExecutableAction<Input,Output> |
A functional interface, so that we can write actions using java 8 lambdas.
|
| IAction<Input,Output> |
This interface is used to create classes capable of being executed when
the winning rules outcome is equal to the actions name.
|
| Class | Description |
|---|---|
| AbstractAction<Input,Output> |
This is an abstract implementation of the
IAction interface. |
| Engine |
A Rule Engine.
|
| JavascriptEngine |
A Javascript based Subclass of
Engine. |
| JavascriptEngine.Builder | |
| Rule |
An
Engine contains a list of rules. |
| SubRule |
A sub rule can be used to make rules which are built up from partial expressions and expressions
contained in (sub)rules.
|
| Exception | Description |
|---|---|
| CompileException |
Thrown if a
Rules expression cannot be compiled when the rule is
added to the engine. |
| DuplicateNameException |
thrown when rules are added to the engine, if another rule
has the same fully qualified name.
|
| NoActionFoundException |
Every rule has an outcome.
|
| NoMatchingRuleFoundException |
thrown when no matching rule is found.
|
| ParseException |
When replacing
SubRule placeholders (the '#' character) in rules, this exception may
be thrown if no suitable subrule can be found. |
Copyright © 2017 Ant Kutschera. All rights reserved.