Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.yajre
Interface ChainListener  view ChainListener download ChainListener.java


public interface ChainListener

A debug listener can be set on a Working Memory user session to be notified of each step in the rule matching chain.

At each step, the source will be identical to the previous sink, or a new descent has begun. The sink will be null at the end of the chain.


Method Summary
 void chainStepAssertion(org.yajre.reteoo.TupleSource src, org.yajre.reteoo.ReteTuple tuple, org.yajre.reteoo.TupleSink sink)
          The implementor of this method must never throw an exception.
 void chainStepRetraction(org.yajre.reteoo.TupleSource src, org.yajre.spi.Declaration decl, org.yajre.reteoo.TupleSink sink)
          The implementor of this method must never throw an exception.
 

Method Detail

chainStepAssertion

public void chainStepAssertion(org.yajre.reteoo.TupleSource src,
                               org.yajre.reteoo.ReteTuple tuple,
                               org.yajre.reteoo.TupleSink sink)
The implementor of this method must never throw an exception.


chainStepRetraction

public void chainStepRetraction(org.yajre.reteoo.TupleSource src,
                                org.yajre.spi.Declaration decl,
                                org.yajre.reteoo.TupleSink sink)
The implementor of this method must never throw an exception.