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

ObjectSink (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


org.drools.reteoo
Interface ObjectSink

All Known Subinterfaces:
ObjectSinkNode
All Known Implementing Classes:
AccumulateNode, AlphaNode, CollectNode, ExistsNode, JoinNode, LeftInputAdapterNode, NotNode, ObjectTypeNode, Rete

public interface ObjectSink

Receiver of propagated FactHandleImpls from a ObjectSource.

Author:
Mark Proctor, Bob McWhirter
See Also:
ObectSource

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

Method Detail

assertObject

void assertObject(InternalFactHandle handle,
                  PropagationContext context,
                  InternalWorkingMemory 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(InternalFactHandle handle,
                   PropagationContext context,
                   InternalWorkingMemory workingMemory)
Retract an existing FactHandleImpl.

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


Copyright © 2001-2007 JBoss Inc.. All Rights Reserved.