org.drools.reteoo
Class EmptyObjectSinkAdapter
java.lang.Object
org.drools.reteoo.AbstractObjectSinkAdapter
org.drools.reteoo.EmptyObjectSinkAdapter
- All Implemented Interfaces:
- Externalizable, Serializable, ObjectSinkPropagator
public class EmptyObjectSinkAdapter
- extends AbstractObjectSinkAdapter
- See Also:
- Serialized Form
EmptyObjectSinkAdapter
public EmptyObjectSinkAdapter()
EmptyObjectSinkAdapter
public EmptyObjectSinkAdapter(RuleBasePartitionId partitionId)
getInstance
public static EmptyObjectSinkAdapter getInstance()
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
getPartitionId
public RuleBasePartitionId getPartitionId()
- Description copied from class:
AbstractObjectSinkAdapter
- Returns the partition to which this propagator belongs to
- Specified by:
getPartitionId in interface ObjectSinkPropagator- Overrides:
getPartitionId in class AbstractObjectSinkAdapter
- Returns:
- the ID of the partition
propagateAssertObject
public void propagateAssertObject(InternalFactHandle factHandle,
PropagationContext context,
InternalWorkingMemory workingMemory)
propagateRetractObject
public void propagateRetractObject(InternalFactHandle handle,
PropagationContext context,
InternalWorkingMemory workingMemory,
boolean useHash)
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()
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
Copyright © 2001-2011 JBoss by Red Hat. All Rights Reserved.