org.drools.reteoo
Interface ObjectSink

All Known Implementing Classes:
org.drools.reteoo.BetaNode

public interface ObjectSink

Receiver of propagated FactHandleImpls from a ObjectSource.

See Also:
ObectSource
 

Method Summary
 void assertObject(DefaultFactHandle handle, PropagationContext context, ReteooWorkingMemory workingMemory)
          Assert a new FactHandleImpl.
 void modifyObject(DefaultFactHandle handle, PropagationContext context, ReteooWorkingMemory workingMemory)
           
 void retractObject(DefaultFactHandle handle, PropagationContext context, ReteooWorkingMemory workingMemory)
          Retract an existing FactHandleImpl.
 

Method Detail

assertObject

public void assertObject(DefaultFactHandle handle,
                         PropagationContext context,
                         ReteooWorkingMemory workingMemory)
Assert a new FactHandleImpl.

Parameters:
handle - The asserted FactHandle/code>.
context - The PropagationContext of the WorkingMemory action.
workingMemory - the WorkingMemory session.

retractObject

public void retractObject(DefaultFactHandle handle,
                          PropagationContext context,
                          ReteooWorkingMemory workingMemory)
Retract an existing FactHandleImpl.

Parameters:
handle - The FactHandle/code> to retract.
context - The PropagationContext of the WorkingMemory action.
workingMemory - the WorkingMemory session.

modifyObject

public void modifyObject(DefaultFactHandle handle,
                         PropagationContext context,
                         ReteooWorkingMemory workingMemory)