站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 3.0.6 API 英文版文档

ObjectSink - JBoss RULES 3.0.6 API 英文版文档


org.drools.reteoo
Interface ObjectSink

All Known Implementing Classes:
NotNode

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

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

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

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