org.drools.reteoo.nodes
Class ReteConditionalBranchNode
java.lang.Object
org.drools.core.common.BaseNode
org.drools.core.reteoo.LeftTupleSource
org.drools.core.reteoo.ConditionalBranchNode
org.drools.reteoo.nodes.ReteConditionalBranchNode
- All Implemented Interfaces:
- Externalizable, Serializable, org.drools.core.common.MemoryFactory, org.drools.core.common.NetworkNode, org.drools.core.reteoo.LeftTupleSink, org.drools.core.reteoo.LeftTupleSinkNode, org.drools.core.reteoo.Sink
public class ReteConditionalBranchNode
- extends org.drools.core.reteoo.ConditionalBranchNode
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from class org.drools.core.reteoo.ConditionalBranchNode |
org.drools.core.reteoo.ConditionalBranchNode.ConditionalBranchMemory |
| Fields inherited from class org.drools.core.reteoo.ConditionalBranchNode |
branchEvaluator, tupleMemoryEnabled |
| Fields inherited from class org.drools.core.reteoo.LeftTupleSource |
leftInput, sink |
| Fields inherited from class org.drools.core.common.BaseNode |
associations, id, partitionId, partitionsEnabled, streamMode |
|
Constructor Summary |
ReteConditionalBranchNode()
|
ReteConditionalBranchNode(int id,
org.drools.core.reteoo.LeftTupleSource tupleSource,
org.drools.core.reteoo.ConditionalBranchEvaluator branchEvaluator,
org.drools.core.reteoo.builder.BuildContext context)
|
|
Method Summary |
void |
assertLeftTuple(org.drools.core.reteoo.LeftTuple leftTuple,
org.drools.core.spi.PropagationContext context,
org.drools.core.common.InternalWorkingMemory workingMemory)
|
void |
attach(org.drools.core.reteoo.builder.BuildContext context)
|
protected void |
doRemove(org.drools.core.reteoo.RuleRemovalContext context,
org.drools.core.reteoo.ReteooBuilder builder,
org.drools.core.common.InternalWorkingMemory[] workingMemories)
|
void |
modifyLeftTuple(org.drools.core.common.InternalFactHandle factHandle,
org.drools.core.reteoo.ModifyPreviousTuples modifyPreviousTuples,
org.drools.core.spi.PropagationContext context,
org.drools.core.common.InternalWorkingMemory workingMemory)
|
void |
modifyLeftTuple(org.drools.core.reteoo.LeftTuple leftTuple,
org.drools.core.spi.PropagationContext context,
org.drools.core.common.InternalWorkingMemory workingMemory)
|
void |
retractLeftTuple(org.drools.core.reteoo.LeftTuple leftTuple,
org.drools.core.spi.PropagationContext context,
org.drools.core.common.InternalWorkingMemory workingMemory)
|
void |
updateSink(org.drools.core.reteoo.LeftTupleSink sink,
org.drools.core.spi.PropagationContext context,
org.drools.core.common.InternalWorkingMemory workingMemory)
|
| Methods inherited from class org.drools.core.reteoo.ConditionalBranchNode |
createLeftTuple, createLeftTuple, createLeftTuple, createLeftTuple, createLeftTuple, createMemory, createPeer, equals, getBranchEvaluator, getLeftTupleSource, getNextLeftTupleSinkNode, getObjectTypeNode, getPreviousLeftTupleSinkNode, getType, hashCode, isLeftTupleMemoryEnabled, networkUpdated, readExternal, setLeftTupleMemoryEnabled, setNextLeftTupleSinkNode, setPreviousLeftTupleSinkNode, toString, writeExternal |
| Methods inherited from class org.drools.core.reteoo.LeftTupleSource |
addTupleSink, addTupleSink, addTupleSink, getLeftDeclaredMask, getLeftInferredMask, getLeftInputOtnId, getLeftNegativeMask, getObjectType, getSinkPropagator, initDeclaredMask, initInferredMask, initMasks, isInUse, removeTupleSink, setLeftInferredMask, setLeftInputOtnId, setLeftListenedProperties, setLeftTupleSource |
| Methods inherited from class org.drools.core.common.BaseNode |
addAssociation, attach, getAssociations, getId, getPartitionId, isStreamMode, remove, removeAssociation, setId, setPartitionId |
| Methods inherited from interface org.drools.core.reteoo.LeftTupleSink |
getLeftInferredMask, getLeftInputOtnId, setLeftInputOtnId |
| Methods inherited from interface org.drools.core.common.NetworkNode |
getAssociations, getId, getPartitionId |
| Methods inherited from interface org.drools.core.common.MemoryFactory |
getId |
ReteConditionalBranchNode
public ReteConditionalBranchNode()
ReteConditionalBranchNode
public ReteConditionalBranchNode(int id,
org.drools.core.reteoo.LeftTupleSource tupleSource,
org.drools.core.reteoo.ConditionalBranchEvaluator branchEvaluator,
org.drools.core.reteoo.builder.BuildContext context)
modifyLeftTuple
public void modifyLeftTuple(org.drools.core.common.InternalFactHandle factHandle,
org.drools.core.reteoo.ModifyPreviousTuples modifyPreviousTuples,
org.drools.core.spi.PropagationContext context,
org.drools.core.common.InternalWorkingMemory workingMemory)
- Specified by:
modifyLeftTuple in interface org.drools.core.reteoo.LeftTupleSink- Overrides:
modifyLeftTuple in class org.drools.core.reteoo.ConditionalBranchNode
attach
public void attach(org.drools.core.reteoo.builder.BuildContext context)
- Overrides:
attach in class org.drools.core.reteoo.ConditionalBranchNode
assertLeftTuple
public void assertLeftTuple(org.drools.core.reteoo.LeftTuple leftTuple,
org.drools.core.spi.PropagationContext context,
org.drools.core.common.InternalWorkingMemory workingMemory)
- Specified by:
assertLeftTuple in interface org.drools.core.reteoo.LeftTupleSink- Overrides:
assertLeftTuple in class org.drools.core.reteoo.ConditionalBranchNode
retractLeftTuple
public void retractLeftTuple(org.drools.core.reteoo.LeftTuple leftTuple,
org.drools.core.spi.PropagationContext context,
org.drools.core.common.InternalWorkingMemory workingMemory)
- Specified by:
retractLeftTuple in interface org.drools.core.reteoo.LeftTupleSink- Overrides:
retractLeftTuple in class org.drools.core.reteoo.ConditionalBranchNode
modifyLeftTuple
public void modifyLeftTuple(org.drools.core.reteoo.LeftTuple leftTuple,
org.drools.core.spi.PropagationContext context,
org.drools.core.common.InternalWorkingMemory workingMemory)
- Specified by:
modifyLeftTuple in interface org.drools.core.reteoo.LeftTupleSink- Overrides:
modifyLeftTuple in class org.drools.core.reteoo.ConditionalBranchNode
updateSink
public void updateSink(org.drools.core.reteoo.LeftTupleSink sink,
org.drools.core.spi.PropagationContext context,
org.drools.core.common.InternalWorkingMemory workingMemory)
- Overrides:
updateSink in class org.drools.core.reteoo.ConditionalBranchNode
doRemove
protected void doRemove(org.drools.core.reteoo.RuleRemovalContext context,
org.drools.core.reteoo.ReteooBuilder builder,
org.drools.core.common.InternalWorkingMemory[] workingMemories)
- Overrides:
doRemove in class org.drools.core.reteoo.ConditionalBranchNode
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.