org.drools.reteoo
Class SingleObjectSinkAdapter
java.lang.Object
org.drools.reteoo.AbstractObjectSinkAdapter
org.drools.reteoo.SingleObjectSinkAdapter
- All Implemented Interfaces:
- Externalizable, Serializable, ObjectSinkPropagator
- Direct Known Subclasses:
- AsyncSingleObjectSinkAdapter
public class SingleObjectSinkAdapter
- extends AbstractObjectSinkAdapter
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sink
protected ObjectSink sink
SingleObjectSinkAdapter
public SingleObjectSinkAdapter()
SingleObjectSinkAdapter
public SingleObjectSinkAdapter(RuleBasePartitionId partitionId,
ObjectSink sink)
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal
in interface Externalizable
- Overrides:
readExternal
in class AbstractObjectSinkAdapter
- Throws:
IOException
ClassNotFoundException
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Overrides:
writeExternal
in class AbstractObjectSinkAdapter
- Throws:
IOException
propagateAssertObject
public void propagateAssertObject(InternalFactHandle factHandle,
PropagationContext context,
InternalWorkingMemory workingMemory)
propagateModifyObject
public void propagateModifyObject(InternalFactHandle factHandle,
ModifyPreviousTuples modifyPreviousTuples,
PropagationContext context,
InternalWorkingMemory workingMemory)
getMatchingNode
public BaseNode getMatchingNode(BaseNode candidate)
getSinks
public ObjectSink[] getSinks()
size
public int size()
Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.