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.

default-listener

delegating-listener

(delegating-listener children)

Returns a listener that delegates to its children.

get-children

(get-children listener)

Returns the children of a delegating listener.

IPersistentEventListener

protocol

members

to-transient

(to-transient listener)

ITransientEventListener

protocol

members

activation-group-transition!

(activation-group-transition! listener original-group new-group)

add-accum-reduced!

(add-accum-reduced! listener node join-bindings result fact-bindings)

add-activations!

(add-activations! listener node activations)

alpha-activate!

(alpha-activate! listener node facts)

alpha-retract!

(alpha-retract! listener node facts)

fire-activation!

(fire-activation! listener activation resulting-operations)

fire-rules!

(fire-rules! listener node)

insert-facts!

(insert-facts! listener node token facts)

insert-facts-logical!

(insert-facts-logical! listener node token facts)

left-activate!

(left-activate! listener node tokens)

left-retract!

(left-retract! listener node tokens)

remove-accum-reduced!

(remove-accum-reduced! listener node join-bindings fact-bindings)

remove-activations!

(remove-activations! listener node activations)

retract-facts!

(retract-facts! listener node token facts)

retract-facts-logical!

(retract-facts-logical! listener node token facts)

right-activate!

(right-activate! listener node elements)

right-retract!

(right-retract! listener node elements)

to-persistent!

(to-persistent! listener)

null-listener?

(null-listener? listener)

Returns true if the given listener is the null listener, false otherwise.