Clara-rules 0.17.0

Released under the Apache License Version 2.0

Clara Rules Engine.

Installation

To install, add the following dependency to your project or build file:

[com.cerner/clara-rules "0.17.0"]

Namespaces

clara.rules

Forward-chaining rules for Clojure. The primary API is in this namespace.

clara.rules.accumulators

A set of common accumulators usable in Clara rules.

Public variables and functions:

clara.rules.dsl

Implementation of the defrule-style DSL for Clara. Most users should simply use the clara.rules namespace.

clara.rules.durability

Support for persisting Clara sessions to an external store. Provides the ability to store and restore an entire session working memory state. The restored session is able to have additional insert, retract, query, and fire rule calls performed immediately after.

clara.rules.listener

Event listeners for analyzing the flow through Clara. This is for primarily for use by tooling, but advanced users may use this to analyze sessions.

clara.tools.fact-graph

clara.tools.inspect

Tooling to inspect a rule session. The two major methods here are:

clara.tools.tracing

Support for tracing state changes in a Clara session.